commit | b583043e99bc6d91e98fae32bd9eff6a5958240a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Oct 31 01:22:04 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Nov 19 13:01:25 2014 -0500 |
tree | 8f2f9a4d28ae16c7d452808ff400bb1f31fb09c8 | |
parent | 30e46aba8f1010b03178f04c0c56be299c063df2 [diff] [blame] |
kill f_dentry uses Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c index d19f199..d116ca8 100644 --- a/fs/cifs/readdir.c +++ b/fs/cifs/readdir.c
@@ -753,7 +753,7 @@ */ fattr.cf_flags |= CIFS_FATTR_NEED_REVAL; - cifs_prime_dcache(file->f_dentry, &name, &fattr); + cifs_prime_dcache(file->f_path.dentry, &name, &fattr); ino = cifs_uniqueid_to_ino_t(fattr.cf_uniqueid); return !dir_emit(ctx, name.name, name.len, ino, fattr.cf_dtype);