NFSv4.1/pnfs: Separate out metadata and data consistency for pNFS
[deliverable/linux.git] / fs / nfs / pnfs_nfs.c
index 54e36b38fb5f89310287635e0838601ad07cf34a..64d2a5932f7b588d08e42d230c7ec5f6a25b21ae 100644 (file)
@@ -868,3 +868,13 @@ pnfs_layout_mark_request_commit(struct nfs_page *req,
        nfs_request_add_commit_list(req, list, cinfo);
 }
 EXPORT_SYMBOL_GPL(pnfs_layout_mark_request_commit);
+
+int
+pnfs_nfs_generic_sync(struct inode *inode, bool datasync)
+{
+       if (datasync)
+               return 0;
+       return pnfs_layoutcommit_inode(inode, true);
+}
+EXPORT_SYMBOL_GPL(pnfs_nfs_generic_sync);
+
This page took 0.02726 seconds and 5 git commands to generate.