Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 707b6514 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: use WRITE_SYNC for REQ_SYNC



WRITE_SYNC contains REQ_SYNC and REQ_NOIDLE.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 6ff1b530
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ static inline void bio_set_op_attrs(struct bio *bio, unsigned op,
static inline int wbc_to_write_flags(struct writeback_control *wbc)
{
	if (wbc->sync_mode == WB_SYNC_ALL)
		return REQ_SYNC;
		return WRITE_SYNC;
	return 0;
}