commit | e4af400a9c5081e7d2b703e4c479cb9831cc1117 | [log] [tgz] |
---|---|---|
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | Sun Jun 17 12:39:47 2018 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Aug 06 13:12:40 2018 +0200 |
tree | b06ae81e10e648141271577c9fd277ce1f3687c6 | |
parent | 893bf4b115c713738df05bb557f8fba14f07c077 [diff] |
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>