diff options
author | Josef Bacik <josef@toxicpanda.com> | 2020-08-20 11:46:11 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-12-08 15:54:02 +0100 |
commit | b9729ce014f6c22d4ca7fda97a7d8ea432af5f91 (patch) | |
tree | 8273aacc8642037934c4b0590b2f27e4819ab63d /fs/btrfs/super.c | |
parent | ac5887c8e013d6754d36e6d51dc03448ee0b0065 (diff) | |
download | linux-b9729ce014f6c22d4ca7fda97a7d8ea432af5f91.tar.bz2 |
btrfs: locking: rip out path->leave_spinning
We no longer distinguish between blocking and spinning, so rip out all
this code.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index bdb0b0c5fd64..6693cfc14dfd 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -1163,7 +1163,6 @@ char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, ret = -ENOMEM; goto err; } - path->leave_spinning = 1; name = kmalloc(PATH_MAX, GFP_KERNEL); if (!name) { @@ -1292,7 +1291,6 @@ static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objec path = btrfs_alloc_path(); if (!path) return -ENOMEM; - path->leave_spinning = 1; /* * Find the "default" dir item which points to the root item that we |