diff options
author | 2018-06-17 12:39:47 -0500 | |
---|---|---|
committer | 2018-08-06 13:12:40 +0200 | |
commit | e4af400a9c5081e7d2b703e4c479cb9831cc1117 (patch) | |
tree | b06ae81e10e648141271577c9fd277ce1f3687c6 /fs/btrfs/print-tree.c | |
parent | btrfs: print more details when checking tree block finds a problem (diff) | |
download | linux-dev-e4af400a9c5081e7d2b703e4c479cb9831cc1117.tar.xz linux-dev-e4af400a9c5081e7d2b703e4c479cb9831cc1117.zip |
btrfs: Use iocb to derive pos instead of passing a separate parameter
struct kiocb carries the ki_pos, so there is no need to pass it as
a separate function parameter.
generic_file_direct_write() increments ki_pos, so we now assign pos
after the function.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
[ rename to btrfs_buffered_write ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
0 files changed, 0 insertions, 0 deletions