Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ae8553c authored by David Sterba's avatar David Sterba
Browse files

btrfs: remove pointless rcu protection from btrfs_qgroup_inherit



There was never need for RCU protection around reading nodesize or other
fairly constant filesystem data.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 0b08e1f4
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -2189,9 +2189,7 @@ int btrfs_qgroup_inherit(struct btrfs_trans_handle *trans,
			goto out;
			goto out;
		}
		}


		rcu_read_lock();
		level_size = fs_info->nodesize;
		level_size = fs_info->nodesize;
		rcu_read_unlock();
	}
	}


	/*
	/*