diff options
author | David Sterba <dsterba@suse.com> | 2018-07-20 16:30:20 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:58 +0200 |
commit | e9539cff04728e31e150b41000b828745fc0c2b3 (patch) | |
tree | 53769b86fa786f09c3ae0bab503278360daa1b87 /fs/btrfs/ctree.h | |
parent | e17385ca2960177da402d6f4d80bdc5b53c29bc4 (diff) | |
download | linux-stable-e9539cff04728e31e150b41000b828745fc0c2b3.tar.gz linux-stable-e9539cff04728e31e150b41000b828745fc0c2b3.tar.bz2 linux-stable-e9539cff04728e31e150b41000b828745fc0c2b3.zip |
btrfs: dev-replace: remove unused members of btrfs_dev_replace
Lock owner and nesting level have been unused since day 1, probably
copy&pasted from the extent_buffer locking scheme without much thinking.
The locking of device replace is simpler and does not need any lock
nesting.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 4ca6c4e141ea..5f6ec80d374f 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -365,8 +365,6 @@ struct btrfs_dev_replace { struct btrfs_device *srcdev; struct btrfs_device *tgtdev; - pid_t lock_owner; - atomic_t nesting_level; struct mutex lock_finishing_cancel_unmount; rwlock_t lock; atomic_t read_locks; |