diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-29 03:22:16 +0300 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-29 09:07:44 +0300 |
commit | 493fa2fbe4597db474e43d38fb8805cbaef654ac (patch) | |
tree | f53ab4bb9c7ef19199531353402eeae729ca4253 /fs/ksmbd/oplock.c | |
parent | a5a25a114ab2412831f063361360eb1192ca6151 (diff) | |
download | linux-493fa2fbe4597db474e43d38fb8805cbaef654ac.tar.xz |
ksmbd: fix dentry racy with rename()
Using ->d_name can be broken due to races with rename().
So use %pd with ->d_name to print filename and In other cases,
use it under ->d_lock.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/oplock.c')
0 files changed, 0 insertions, 0 deletions