cifsd: get parent dentry from child in ksmbd_vfs_remove_file()
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 13 Apr 2021 04:20:52 +0000 (13:20 +0900)
committerSteve French <stfrench@microsoft.com>
Tue, 11 May 2021 00:15:40 +0000 (19:15 -0500)
commit7c3d3e99ca29f0abd5443353fe018a1368f08c43
tree51a5aac9d3619cecf12f392b2863479dcc06c314
parentff1d57272552e4d48e0aab015a457d0297915e0b
cifsd: get parent dentry from child in ksmbd_vfs_remove_file()

To remove the file, We have parsed full pathname to divide parent path and
filename. It is a better way to get parent dentry from child dentry that
obtained by lookup with given pathname.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/vfs.c