summaryrefslogtreecommitdiff
path: root/fs/ceph/inode.c
diff options
context:
space:
mode:
authorYan Zhen2024-09-05 19:32:27 +0800
committerIlya Dryomov2024-09-24 22:51:33 +0200
commit0039aebfe87129fae1e3567cb6de7a99dbb3ba28 (patch)
tree85e83b92e9e31003f3f10b1b061b3145a44db284 /fs/ceph/inode.c
parentd97079e97eab20e08afc507f2bed4501e2824717 (diff)
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/inode.c')
-rw-r--r--fs/ceph/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c
index 71cd70514efa..5bf2bcf38d8c 100644
--- a/fs/ceph/inode.c
+++ b/fs/ceph/inode.c
@@ -1778,7 +1778,7 @@ retry_lookup:
if (err < 0)
goto done;
} else if (rinfo->head->is_dentry && req->r_dentry) {
- /* parent inode is not locked, be carefull */
+ /* parent inode is not locked, be careful */
struct ceph_vino *ptvino = NULL;
dvino.ino = le64_to_cpu(rinfo->diri.in->ino);
dvino.snap = le64_to_cpu(rinfo->diri.in->snapid);