Skip to content

Commit eeb133a

Browse files
Sun YangKaikdave
authored andcommitted
btrfs: move misplaced comment of btrfs_path::keep_locks
Commit 925baed ("Btrfs: Start btree concurrency work.") added the comment for the field keep_locks. This got moved later but without the comment, so move it to the right place and fix the comment style. Signed-off-by: Sun YangKai <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 8af94e7 commit eeb133a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/btrfs/ctree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ struct btrfs_path {
6161
/* if there is real range locking, this locks field will change */
6262
u8 locks[BTRFS_MAX_LEVEL];
6363
u8 reada;
64-
/* keep some upper locks as we walk down */
6564
u8 lowest_level;
6665

6766
/*
6867
* set by btrfs_split_item, tells search_slot to keep all locks
6968
* and to force calls to keep space in the nodes
7069
*/
7170
unsigned int search_for_split:1;
71+
/* Keep some upper locks as we walk down. */
7272
unsigned int keep_locks:1;
7373
unsigned int skip_locking:1;
7474
unsigned int search_commit_root:1;

0 commit comments

Comments
 (0)