diff options
author | Christoph Hellwig <hch@lst.de> | 2008-11-05 09:04:29 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-12-31 18:07:41 -0500 |
commit | 66f221875dc10813aa2f06c83ad60d0eb1356406 (patch) | |
tree | 4caf6a6d798f9ec8f8ee69dd4e12609e0191429d | |
parent | 52afeefb9dac9287429642189996426a2bfd6a25 (diff) |
remove incorrect comment in inode_permission
We now pass on all MAY_ flags to the filesystems permission routines,
so remove the comment stating the contrary.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/namei.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index 9ed5e2818f80..631cfdd45c68 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -247,7 +247,6 @@ int inode_permission(struct inode *inode, int mask) | |||
247 | return -EACCES; | 247 | return -EACCES; |
248 | } | 248 | } |
249 | 249 | ||
250 | /* Ordinary permission routines do not understand MAY_APPEND. */ | ||
251 | if (inode->i_op && inode->i_op->permission) | 250 | if (inode->i_op && inode->i_op->permission) |
252 | retval = inode->i_op->permission(inode, mask); | 251 | retval = inode->i_op->permission(inode, mask); |
253 | else | 252 | else |