]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: fix typo in the comments 40458/head
authorXiubo Li <xiubli@redhat.com>
Mon, 29 Mar 2021 04:00:35 +0000 (12:00 +0800)
committerXiubo Li <xiubli@redhat.com>
Mon, 29 Mar 2021 04:36:19 +0000 (12:36 +0800)
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc

index ab34dcef1941320cf6e0bf285bc1581add55a9fe..d34af1bb74c03758bf1e2c1885fc3e7eba1bb391 100644 (file)
@@ -14961,7 +14961,7 @@ int Client::check_pool_perm(Inode *in, int need)
   if (!have) {
     if (in->snapid != CEPH_NOSNAP) {
       // pool permission check needs to write to the first object. But for snapshot,
-      // head of the first object may have alread been deleted. To avoid creating
+      // head of the first object may have already been deleted. To avoid creating
       // orphan object, skip the check for now.
       return 0;
     }