fs/exfat: fix compile error on kernel 4.14

WRITE_SYNC is not defined on new kernel.

Change-Id: If47e84c06a0e52ccf4a7a116d233f8d8c924191e
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/1207791
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Shiyong Li 2018-07-17 17:12:00 -07:00 • committed by Shi-Yong Li
commit 4384ecdec8

View file

@ -158,7 +158,7 @@ s32 bdev_sync_dirty_buffer(struct buffer_head *bh,
get_bh(bh);
bh->b_private = sb;
bh->b_end_io = exfat_end_buffer_write_sync;
ret = submit_bh(REQ_OP_WRITE, WRITE_SYNC, bh);
ret = submit_bh(REQ_OP_WRITE, REQ_SYNC, bh);
if (sync) {
wait_on_buffer(bh);
if (!ret && !buffer_uptodate(bh))