]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/jfs/jfs_txnmgr.c
[PATCH] Fix and add EXPORT_SYMBOL(filemap_write_and_wait)
[linux-2.6-omap-h63xx.git] / fs / jfs / jfs_txnmgr.c
index b660c93c92deaf112c7b7955743c41e6a39c929a..2ddb6b892bcf17b80d75b2fb20b8d573fafb30b0 100644 (file)
@@ -1231,10 +1231,8 @@ int txCommit(tid_t tid,          /* transaction identifier */
                 * when we don't need to worry about it at all.
                 *
                 * if ((!S_ISDIR(ip->i_mode))
-                *    && (tblk->flag & COMMIT_DELETE) == 0) {
-                *      filemap_fdatawrite(ip->i_mapping);
-                *      filemap_fdatawait(ip->i_mapping);
-                * }
+                *    && (tblk->flag & COMMIT_DELETE) == 0)
+                *      filemap_write_and_wait(ip->i_mapping);
                 */
 
                /*