f2fs: check for inode_dio_wait() return value
authorJens Axboe <axboe@kernel.dk>
Tue, 24 Oct 2023 20:29:39 +0000 (14:29 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 10 Nov 2023 19:46:24 +0000 (12:46 -0700)
commitfee0646ed1f92271b551ba02091711883e0bb1a4
treef3241041bea7258683af3a46d8667301e2c36cb7
parenta1c0625f15f2035cb9d2769f9d3fb4fc79ade045
f2fs: check for inode_dio_wait() return value

Add error handling for inode_dio_wait(). This is making an assumption
that we'll only deal with errors that cannot happen from a kthread,
which is true for f2fs as this call path is off garbage collection.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/f2fs/gc.c