diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2012-03-26 10:54:19 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-31 20:03:16 (GMT) |
commit | fa4ee159512ee39b6c65ac40db986ea7a2f7de60 (patch) | |
tree | 1a245fe312d79e063de819f4da0debc2b13739d7 /net/sunrpc/sysctl.c | |
parent | 4613ad180d19082f99551477dcb13cb23d23661b (diff) | |
download | linux-fsl-qoriq-fa4ee159512ee39b6c65ac40db986ea7a2f7de60.tar.xz |
vfs: fix d_need_lookup/d_revalidate order in do_lookup
Doing revalidate on a dentry which has not yet been looked up makes no sense.
Move the d_need_lookup() check before d_revalidate().
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/sunrpc/sysctl.c')
0 files changed, 0 insertions, 0 deletions