]> git.baikalelectronics.ru Git - kernel.git/commit
cleanup may_open
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Jan 2009 18:27:23 +0000 (19:27 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 Mar 2009 18:43:57 +0000 (14:43 -0400)
commit93e4324fdbd97e4454a2acd78ad88ffbdae7b3aa
tree4432fe47893442907d1e60ab362208dd9ae12bd2
parentbbc2d9dbdc26164904765687f0fcb7f4d6c8ddd3
cleanup may_open

Add a switch for the various i_mode fmt cases, and remove the comment
about writeability of devices nodes - that part is handled in
inode_permission and comment on (briefly) there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c