aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2012-09-28 13:46:28 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2012-09-28 14:50:15 -0400
commitdaa22703f14c007e93b464c45fa60019a36f546d (patch)
treea1a130b6e128dc9d57c35c026977e1b4953105e1 /fs/nfs
parent5aa287dcf1b5879aa0150b0511833c52885f5b4c (diff)
Apply k4412 kernel from HardKernel for ODROID-X.
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/write.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index 58bb9994b94..d5ef7e933b7 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -1571,8 +1571,7 @@ int nfs_write_inode(struct inode *inode, struct writeback_control *wbc)
1571 int status; 1571 int status;
1572 bool sync = true; 1572 bool sync = true;
1573 1573
1574 if (wbc->sync_mode == WB_SYNC_NONE || wbc->nonblocking || 1574 if (wbc->sync_mode == WB_SYNC_NONE || wbc->for_background)
1575 wbc->for_background)
1576 sync = false; 1575 sync = false;
1577 1576
1578 status = pnfs_layoutcommit_inode(inode, sync); 1577 status = pnfs_layoutcommit_inode(inode, sync);