diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-10-04 11:38:53 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 16:44:18 +0200 |
commit | 68539bd0e73b457f88a9d00cabb6533ec8582dc9 (patch) | |
tree | fd5ced727076e46425504fce2a228b708f6f0d6e /fs/btrfs/dev-replace.c | |
parent | 5ca1949b79f3b02215f1c075bf178fceeadda352 (diff) | |
download | linux-68539bd0e73b457f88a9d00cabb6533ec8582dc9.tar.gz linux-68539bd0e73b457f88a9d00cabb6533ec8582dc9.tar.bz2 linux-68539bd0e73b457f88a9d00cabb6533ec8582dc9.zip |
btrfs: update comment for struct btrfs_inode::lock
Update the comment for the lock named "lock" in struct btrfs_inode because
it does not mention that the fields "delalloc_bytes", "defrag_bytes",
"csum_bytes", "outstanding_extents" and "disk_i_size" are also protected
by that lock.
Also add a comment on top of each field protected by this lock to mention
that the lock protects them.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions