commit | 493fa2fbe4597db474e43d38fb8805cbaef654ac | [log] [tgz] |
---|---|---|
author | Namjae Jeon <namjae.jeon@samsung.com> | Tue Jun 29 09:22:16 2021 +0900 |
committer | Namjae Jeon <namjae.jeon@samsung.com> | Tue Jun 29 15:07:44 2021 +0900 |
tree | f53ab4bb9c7ef19199531353402eeae729ca4253 | |
parent | a5a25a114ab2412831f063361360eb1192ca6151 [diff] |
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>