summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_dfs_ref.c
diff options
context:
space:
mode:
authorGoldwyn Rodrigues2016-04-18 13:41:52 +0200
committerSteve French2016-05-17 21:09:33 +0200
commit1f1735cb75ab31ed948a7fce65beaaa6c0ed4ed4 (patch)
tree35d88237f7ab55df1bf394d5c214185c2be03bd0 /fs/cifs/cifs_dfs_ref.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff)
downloadkernel-qcow2-linux-1f1735cb75ab31ed948a7fce65beaaa6c0ed4ed4.tar.gz
kernel-qcow2-linux-1f1735cb75ab31ed948a7fce65beaaa6c0ed4ed4.tar.xz
kernel-qcow2-linux-1f1735cb75ab31ed948a7fce65beaaa6c0ed4ed4.zip
cifs: Use file_dentry()
CIFS may be used as lower layer of overlayfs and accessing f_path.dentry can lead to a crash. Fix by replacing direct access of file->f_path.dentry with the file_dentry() accessor, which will always return a native object. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifs_dfs_ref.c')
0 files changed, 0 insertions, 0 deletions