projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (patches from Andrew)
[linux-2.6-block.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index c386a329ab203d44bc9a1ee5c49d5681a32fd81d..adb04146df09281ff5825382c0f73564024061b9 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-410,7
+410,7
@@
int __inode_permission(struct inode *inode, int mask)
* Nobody gets write access to an immutable file.
*/
if (IS_IMMUTABLE(inode))
- return -E
ACCES
;
+ return -E
PERM
;
/*
* Updating mtime will likely cause i_uid and i_gid to be