mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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:
parent
0f56c5946e
commit
4384ecdec8
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue