summaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2017-01-30 12:25:28 -0800
committerDavid Sterba <dsterba@suse.com>2017-02-14 15:51:00 +0100
commite4c3b2dcd1449def1229efb138da7cb28c796c71 (patch)
treea969e93a86cd12a9c81c99b474b923a314ecbfd7 /fs/file.c
parentf72ad18e996338a8033aeb981e645f8dbf4e22c1 (diff)
downloadlinux-e4c3b2dcd1449def1229efb138da7cb28c796c71.tar.gz
linux-e4c3b2dcd1449def1229efb138da7cb28c796c71.tar.xz
Btrfs: kill trans in run_delalloc_nocow and btrfs_cross_ref_exist
run_delalloc_nocow has used trans in two places where they don't actually need @trans. For btrfs_lookup_file_extent, we search for file extents without COWing anything, and for btrfs_cross_ref_exist, the only place where we need @trans is deferencing it in order to get running_transaction which we could easily get from the global fs_info. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions