pass writeback_control to ->write_inode
[pandora-kernel.git] / fs / exofs / inode.c
index 5514f3c..a17e4b7 100644 (file)
@@ -1280,9 +1280,9 @@ out:
        return ret;
 }
 
-int exofs_write_inode(struct inode *inode, int wait)
+int exofs_write_inode(struct inode *inode, struct writeback_control *wbc)
 {
-       return exofs_update_inode(inode, wait);
+       return exofs_update_inode(inode, wbc->sync_mode == WB_SYNC_ALL);
 }
 
 /*