]> git.karo-electronics.de Git - mv-sheeva.git/commit
[PATCH] open: cleanup in lookup_flags()
authorMiklos Szeredi <miklos@szeredi.hu>
Sun, 30 Oct 2005 23:02:09 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:18 +0000 (17:37 -0800)
commit42e50a5a69f359e64a143eb0e11a57e18f10c262
tree59912bfeeda4fdd34e4a586ecfa58969bd9cffda
parenta92897286485735e3708af357f8bcaf0592bd77a
[PATCH] open: cleanup in lookup_flags()

lookup_flags() is only called from the non-create case, so it needn't check
for O_CREAT|O_EXCL.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/namei.c