git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
fs
/
jfs
/
acl.c
diff --git
a/fs/jfs/acl.c
b/fs/jfs/acl.c
index
a1cef90
..
8353f48
100644
(file)
--- a/
fs/jfs/acl.c
+++ b/
fs/jfs/acl.c
@@
-136,7
+136,7
@@
int jfs_permission(struct inode * inode, int mask, struct nameidata *nd)
/*
* Nobody gets write access to a read-only fs.
*/
- if (
(IS_RDONLY(inode) || (nd && MNT_IS_RDONLY(nd->mnt))
) &&
+ if (
IS_RDONLY(inode
) &&
(S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)))
return -EROFS;