vfs: remove extraneous NULL d_inode check from do_filp_open
authorJeff Layton <jlayton@redhat.com>
Mon, 16 Nov 2009 20:05:20 +0000 (12:05 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 17 Dec 2009 15:52:34 +0000 (10:52 -0500)
commitcb59861f03a626196a23fdef5e20ddbb8cca6466
tree777dda2c1764e74cf6e7e5bda27314bb99c5b4d1
parenta3a065e3f13da8a3470ed09c7f38aad256083726
vfs: remove extraneous NULL d_inode check from do_filp_open

We can't get to this point unless it's a valid pointer.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c