ceph: fix a typo in comments
PATCH 1/1 ceph: fix a typo in comments
From: Xiubo Li <[email protected]>
--- fs/ceph/addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ceph/addr.c +1 -1
@@ -1945,7 +1945,7 @@ int ceph_pool_perm_check(struct inode *inode, int need)if (ci->i_vino.snap !=CEPH_NOSNAP ) {/* * Pool permission check needs to write to the first object. -* But for snapshot, head of the first object may have alread +* But for snapshot, head of the first object may have already * been deleted. Skip check to avoid creating orphan object. */ return 0 ;
Signature · 1 line
2.27.0
Quoted 12 lines · On Mon, 2021-03-29 at 12:59 +0800, [email protected] wrote:
From: Xiubo Li <[email protected]>
Signed-off-by Xiubo Li <[email protected]>--- fs/ceph/addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/ceph/addr.c +0
-0
fs/ceph/addr.c int ceph_pool_perm_check(struct inode *inode, int need) · line 1951
Quoted 8 lines
fs/ceph/addr.c +1
-1@@ -1945,7 +1945,7 @@ int ceph_pool_perm_check(struct inode *inode, int need)if (ci->i_vino.snap !=CEPH_NOSNAP ) {/* * Pool permission check needs to write to the first object. -* But for snapshot, head of the first object may have alread +* But for snapshot, head of the first object may have already * been deleted. Skip check to avoid creating orphan object. */ return 0 ;
In general, I don't like to merge patches that just change comments without other substantive changes. I did make an exception in this patch:
[PATCH 1/2] ceph: fix kerneldoc copypasta over ceph_start_io_direct
...but that was mainly because that was generating a warning at build- time for me. I'm going to drop this patch for now.
Cheers,
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 25 lines · Jeff Layton
Quoted 12 lines · On Mon, 2021-03-29 at 12:59 +0800, [email protected] wrote:
From: Xiubo Li <[email protected]>
Signed-off-by Xiubo Li <[email protected]>--- fs/ceph/addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/ceph/addr.c +0
-0fs/ceph/addr.c int ceph_pool_perm_check(struct inode *inode, int need) · line 1951
Quoted 8 lines
fs/ceph/addr.c +1
-1@@ -1945,7 +1945,7 @@ int ceph_pool_perm_check(struct inode *inode, int need)if (ci->i_vino.snap !=CEPH_NOSNAP ) {/* * Pool permission check needs to write to the first object. -* But for snapshot, head of the first object may have alread +* But for snapshot, head of the first object may have already * been deleted. Skip check to avoid creating orphan object. */ return 0 ;In general, I don't like to merge patches that just change comments without other substantive changes. I did make an exception in this patch:
Quoted 4 lines
[PATCH 1/2] ceph: fix kerneldoc copypasta over
ceph_start_io_direct...but that was mainly because that was generating a warning at build- time for me. I'm going to drop this patch for now.
Sure, will fix it in my next patch series.
Thanks
Quoted 1 line
Cheers,