file: unify ->file_data and ->file_pos
authorJens Axboe <axboe@kernel.dk>
Wed, 12 Dec 2012 07:34:42 +0000 (08:34 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Dec 2012 07:34:42 +0000 (08:34 +0100)
commitef5f5a3a63f8b7c472f30484c520265aba6ef162
treec19c000addbf1012b12daa3e147484c925a7a15a
parente6c4d732fc99070091367d0ce41fe2cf1ddd1dc9
file: unify ->file_data and ->file_pos

The only real use case of ->file_pos was by the sync engine to
avoid an lseek() if the offset was already correct. The e4defrag,
falloc, and fusion-aw engine also set ->file_pos, but that looks
like a case of copy-paste, since they don't actually use it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/e4defrag.c
engines/falloc.c
engines/fusion-aw.c
engines/sync.c
file.h