btrfs: pass in DIO_SKIP_DIO_COUNT to do_blockdev_direct_IO()
authorJens Axboe <axboe@fb.com>
Wed, 15 Apr 2015 21:47:13 +0000 (15:47 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 15 Apr 2015 21:57:26 +0000 (15:57 -0600)
commit3815a2d8b078d7a83fe82612cffa052cfd2bfb98
treeacc088bb6ecb1347594f9414cd85b83ff66cdde0
parente8b22401e860656665bde3e86e9ba9a08502a891
btrfs: pass in DIO_SKIP_DIO_COUNT to do_blockdev_direct_IO()

btrfs_direct_IO() already holds the inode i_dio_count elevated, so
pass in that do_blockdev_direct_IO() does not need to. If we end
up dropping the inode dio count before calling this function, then
we drop the flag as well.

Cc: Chris Mason <clm@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/btrfs/inode.c