commit | 22f96b3808c12a218e9a3bce6e1bfbd74efbe374 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Apr 09 14:51:48 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu May 02 14:08:53 2019 -0600 |
tree | 3a8808dea0867ba433751932bac0c264a4284df1 | |
parent | de0617e467171ba44c73efd1ba63f101b164a035 [diff] |
fs: add sync_file_range() helper This just pulls out the ksys_sync_file_range() code to work on a struct file instead of an fd, so we can use it elsewhere. Signed-off-by: Jens Axboe <axboe@kernel.dk>