]> git.baikalelectronics.ru Git - kernel.git/commit
direct-io: Remove unused DIO_SKIP_DIO_COUNT logic
authorNikolay Borisov <nborisov@suse.com>
Fri, 23 Feb 2018 11:45:29 +0000 (13:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Mar 2018 16:21:24 +0000 (10:21 -0600)
commit275db50184f0076153655e20382ef5cd966e73b1
treee02b03b77e82ecbc6bdcb31a260bf5c264273e1d
parent90309d0e97d04a0dfbe87ba03bbb33a45c061a5e
direct-io: Remove unused DIO_SKIP_DIO_COUNT logic

This flag was added by fd7c413f70f0 ("direct-io: only inc/deci
inode->i_dio_count for file systems") as means to optimise the atomic
modificaiton of the variable for blockdevices. However with the advent
of 5e2ce7dbf5b5 ("block: new direct I/O implementation") it became
unused. So let's remove it.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/direct-io.c
include/linux/fs.h