aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index 966b8db99ac5..fab214a4bcb0 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -1516,6 +1516,8 @@ int nfs_wb_page_priority(struct inode *inode, struct page *page, int how)
1516 if (ret < 0) 1516 if (ret < 0)
1517 goto out; 1517 goto out;
1518 } 1518 }
1519 if (!PagePrivate(page))
1520 return 0;
1519 ret = nfs_sync_mapping_wait(page->mapping, &wbc, how); 1521 ret = nfs_sync_mapping_wait(page->mapping, &wbc, how);
1520 if (ret >= 0) 1522 if (ret >= 0)
1521 return 0; 1523 return 0;