ext4: pass in DIO_SKIP_DIO_COUNT to do_blockdev_direct_IO() i_dio_count
authorJens Axboe <axboe@fb.com>
Wed, 15 Apr 2015 21:51:12 +0000 (15:51 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 15 Apr 2015 21:57:26 +0000 (15:57 -0600)
commit45f4492f9182eee85bb4a5bb2aa7ada9e0482e55
tree1b7104e528b818fe90cfa31871cf1e6e07965d3a
parent3815a2d8b078d7a83fe82612cffa052cfd2bfb98
ext4: pass in DIO_SKIP_DIO_COUNT to do_blockdev_direct_IO()

For writes, ext4_ext_direct_IO() already holds the inode i_dio_count
elevated, so we don't need the extra inc/dec that is done in
do_blockdev_direct_IO(). Pass in DIO_SKIP_DIO_COUNT to tell it that.

Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/ext4/inode.c