patch-2.4.20 linux-2.4.20/fs/ext3/ioctl.c

Next file: linux-2.4.20/fs/ext3/namei.c
Previous file: linux-2.4.20/fs/ext3/inode.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/fs/ext3/ioctl.c linux-2.4.20/fs/ext3/ioctl.c
@@ -37,7 +37,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)