Skip to content

Commit a0082c0

Browse files
Sun YangKaikdave
authored andcommitted
btrfs: update comment for xarray fields in struct btrfs_root
The inode_lock field of struct btrfs_root was removed in commit e2844cc("btrfs: remove inode_lock from struct btrfs_root and use xarray locks") but the related comment haven't been updated. Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Sun YangKai <sunk67188@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
1 parent 72731b0 commit a0082c0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

fs/btrfs/ctree.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -224,16 +224,10 @@ struct btrfs_root {
224224

225225
struct list_head root_list;
226226

227-
/*
228-
* Xarray that keeps track of in-memory inodes, protected by the lock
229-
* @inode_lock.
230-
*/
227+
/* Xarray that keeps track of in-memory inodes. */
231228
struct xarray inodes;
232229

233-
/*
234-
* Xarray that keeps track of delayed nodes of every inode, protected
235-
* by @inode_lock.
236-
*/
230+
/* Xarray that keeps track of delayed nodes of every inode. */
237231
struct xarray delayed_nodes;
238232
/*
239233
* right now this just gets used so that a root has its own devid

0 commit comments

Comments
 (0)