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)
commitc8fe8f30c7fe6ce6fc44a1db7d5bfa5144cd9211
tree4432fe47893442907d1e60ab362208dd9ae12bd2
parentb6520c81934848cef126d93951f7ce242e0f656d
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