]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e536099288ab4b5d2fc3fdb267a51b03817bf40
tree51a5aac9d3619cecf12f392b2863479dcc06c314
parenteee17e7db4386d5b2087ed90da63105340f56f87
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