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
- Lines: 9
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/fs/ext3/ioctl.c
- Orig date:
Fri Nov 9 14:25:04 2001
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)