Skip to content
Commit 3ffbd68c authored by David Sterba's avatar David Sterba
Browse files

btrfs: simplify pointer chasing of local fs_info variables



Functions that get btrfs inode can simply reach the fs_info by
dereferencing the root and this looks a bit more straightforward
compared to the btrfs_sb(...) indirection.

If the transaction handle is available and not NULL it's used instead.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 37508515
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment