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

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)