diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2016-04-18 06:41:52 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2016-05-17 14:09:33 -0500 |
commit | 1f1735cb75ab31ed948a7fce65beaaa6c0ed4ed4 (patch) | |
tree | 35d88237f7ab55df1bf394d5c214185c2be03bd0 /init/main.c | |
parent | 7f427d3a6029331304f91ef4d7cf646f054216d2 (diff) | |
download | linux-1f1735cb75ab31ed948a7fce65beaaa6c0ed4ed4.tar.gz linux-1f1735cb75ab31ed948a7fce65beaaa6c0ed4ed4.tar.bz2 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 'init/main.c')
0 files changed, 0 insertions, 0 deletions