summaryrefslogtreecommitdiff
path: root/fs/ceph/dir.c
diff options
context:
space:
mode:
authorYan Zhen <yanzhen@vivo.com>2024-09-05 19:32:27 +0800
committerIlya Dryomov <idryomov@gmail.com>2024-09-24 22:51:33 +0200
commit0039aebfe87129fae1e3567cb6de7a99dbb3ba28 (patch)
tree85e83b92e9e31003f3f10b1b061b3145a44db284 /fs/ceph/dir.c
parentd97079e97eab20e08afc507f2bed4501e2824717 (diff)
downloadlinux-0039aebfe87129fae1e3567cb6de7a99dbb3ba28.tar.gz
linux-0039aebfe87129fae1e3567cb6de7a99dbb3ba28.tar.bz2
linux-0039aebfe87129fae1e3567cb6de7a99dbb3ba28.zip
ceph: Fix typo in the comment
Correctly spelled comments make it easier for the reader to understand the code. replace 'tagert' with 'target' in the comment & replace 'vaild' with 'valid' in the comment & replace 'carefull' with 'careful' in the comment & replace 'trsaverse' with 'traverse' in the comment. Signed-off-by: Yan Zhen <yanzhen@vivo.com> Reviewed-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/dir.c')
-rw-r--r--fs/ceph/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
index 18c72b305858..e23f8a40f3e3 100644
--- a/fs/ceph/dir.c
+++ b/fs/ceph/dir.c
@@ -2059,7 +2059,7 @@ static int ceph_d_delete(const struct dentry *dentry)
return 0;
if (ceph_snap(d_inode(dentry)) != CEPH_NOSNAP)
return 0;
- /* vaild lease? */
+ /* valid lease? */
di = ceph_dentry(dentry);
if (di) {
if (__dentry_lease_is_valid(di))