patch-2.4.20 linux-2.4.20/fs/ext2/ioctl.c
Next file: linux-2.4.20/fs/ext2/super.c
Previous file: linux-2.4.20/fs/ext2/inode.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/fs/ext2/ioctl.c
- Orig date:
Wed Sep 27 13:41:33 2000
diff -urN linux-2.4.19/fs/ext2/ioctl.c linux-2.4.20/fs/ext2/ioctl.c
@@ -31,7 +31,7 @@
return -EROFS;
if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER))
- return -EPERM;
+ return -EACCES;
if (get_user(flags, (int *) arg))
return -EFAULT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)