vfs: don't call ima_file_check() unconditionally in nfsd_open()
authorChuck Ebbert <cebbert@redhat.com>
Mon, 15 Feb 2010 23:07:39 +0000 (18:07 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 20 Feb 2010 05:47:31 +0000 (00:47 -0500)
commitaeaa5ccd6421fbf9e7ded0ac67b12ea2b9fcf51e
treef614a33edbd3daab32d616446eb45a526e68d21b
parent4e70af56319e56423d6eb1ce25fc321cdf8cd41d
vfs: don't call ima_file_check() unconditionally in nfsd_open()

commit 1e41568d7378d1ba8c64ba137b9ddd00b59f893a ("Take ima_path_check()
in nfsd past dentry_open() in nfsd_open()") moved this code back to its
original location but missed the "else".

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/vfs.c