Commit 08eb2ad9 authored by Filipe Manana's avatar Filipe Manana Committed by David Sterba
Browse files

btrfs: add comment to struct btrfs_fs_info::dirty_cowonly_roots



Add a comment to struct btrfs_fs_info::dirty_cowonly_roots to mention
that struct btrfs_fs_info::trans_lock is the lock that protects that
list.

Signed-off-by: default avatarFilipe Manana <fdmanana@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent babebf02
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -576,6 +576,7 @@ struct btrfs_fs_info {
	s32 dirty_metadata_batch;
	s32 delalloc_batch;

	/* Protected by 'trans_lock'. */
	struct list_head dirty_cowonly_roots;

	struct btrfs_fs_devices *fs_devices;