btrfs: fix the comment of btrfs_path fields
PATCH 1/1 btrfs: fix the comment of btrfs_path fields
This comment is originally added in
commit 925baeddc5b0 ("Btrfs: Start btree concurrency work."), for the field keep_locks. The field keep_locks had been moved to another line, while this comment is left in place.
Move the comment to the right place.
Signed-off-by Sun YangKai <[email protected]>
--- fs/btrfs/ctree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/ctree.h +1 -1
@@ -61,7 +61,6 @@ struct btrfs_path {/* if there is real range locking, this locks field will change */ u8 locks[BTRFS_MAX_LEVEL ];u8 reada; -/* keep some upper locks as we walk down */ u8 lowest_level;/*
@@ -69,6 +68,7 @@ struct btrfs_path {* and to force calls to keep space in the nodes */ unsigned int search_for_split:1; +/* Keep some upper locks as we walk down */ unsigned int keep_locks:1; unsigned int skip_locking:1; unsigned int search_commit_root:1;
Signature · 1 line
2.49.0
Quoted 8 lines · Sun YangKai
This comment is originally added in
commit925baeddc5b0("Btrfs: Start btree concurrency work."), for the fieldkeep_locks. The fieldkeep_lockshad been moved to another line, while this comment is left in place.Move the comment to the right place.
Signed-off-by Sun YangKai <[email protected]>
Added to for-next, thank.