diff options
author | 2018-06-29 10:56:42 +0200 | |
---|---|---|
committer | 2018-08-06 13:12:43 +0200 | |
commit | 3ffbd68c48320730ef64ebfb5e639220f1f65483 (patch) | |
tree | 8ba0da4fa561d426c61374ab3309e68ebcdc3993 /fs/btrfs/dev-replace.c | |
parent | btrfs: simplify some assignments of inode numbers (diff) | |
download | linux-dev-3ffbd68c48320730ef64ebfb5e639220f1f65483.tar.xz linux-dev-3ffbd68c48320730ef64ebfb5e639220f1f65483.zip |
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: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions