Commit 8811ace4 authored by Sun YangKai's avatar Sun YangKai Committed by David Sterba
Browse files

btrfs: update comment for xarray fields in struct btrfs_root



The inode_lock field of struct btrfs_root was removed in commit
e2844cce("btrfs: remove inode_lock from struct btrfs_root and use
xarray locks") but the related comment haven't been updated.

Reviewed-by: default avatarFilipe Manana <fdmanana@suse.com>
Signed-off-by: default avatarSun YangKai <sunk67188@gmail.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent cc38d178
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -224,16 +224,10 @@ struct btrfs_root {

	struct list_head root_list;

	/*
	 * Xarray that keeps track of in-memory inodes, protected by the lock
	 * @inode_lock.
	 */
	/* Xarray that keeps track of in-memory inodes. */
	struct xarray inodes;

	/*
	 * Xarray that keeps track of delayed nodes of every inode, protected
	 * by @inode_lock.
	 */
	/* Xarray that keeps track of delayed nodes of every inode. */
	struct xarray delayed_nodes;
	/*
	 * right now this just gets used so that a root has its own devid