]> www.infradead.org Git - users/jedix/linux-maple.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>
Mon, 19 Apr 2021 00:20:51 +0000 (19:20 -0500)
commit828cd71b67c5070b8ab4b7b3a7ac50248931a688
treed3b2d9470a3a0ef9dc4dac3deaa5583243aa6c07
parent2b39c20b7af6ed03e50278a158672274771d77d0
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