fat: use sync_blockdev_nowait
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Oct 2021 06:25:28 +0000 (08:25 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Oct 2021 14:36:55 +0000 (08:36 -0600)
commitcb9568ee755c8289855a7a5ce0e1ee0082eca576
tree6d11b6934e6585a0bb849ab655132924babad647
parent1226dfff572f8878fdfc4ac2fd84a59c7a75f489
fat: use sync_blockdev_nowait

Use sync_blockdev_nowait instead of opencoding it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20211019062530.2174626-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/fat/inode.c