summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2016-07-19 23:33:04 +0200
committerJ. Bruce Fields <bfields@redhat.com>2016-08-04 23:11:48 +0200
commite75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c (patch)
treef87cc0dee5dbb4f22fda8ab3c92dba6e83b75a29 /net/8021q
parentnfsd: remove redundant zero-length check from create (diff)
downloadlinux-e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c.tar.xz
linux-e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c.zip
nfsd: check d_can_lookup in fh_verify of directories
Create and other nfsd ops generally assume we can call lookup_one_len on inodes with S_IFDIR set. Al says that this assumption isn't true in general, though it should be for the filesystem objects nfsd sees. Add a check just to make sure our assumption isn't violated. Remove a couple checks for i_op->lookup in create code. Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions