]> err.no Git - linux-2.6/blobdiff - include/linux/writeback.h
[PATCH] export/change sync_page_range/_nolock()
[linux-2.6] / include / linux / writeback.h
index b096159086e8c772ab4ef8fc5931ecb35a137021..beaef5c7a0eacaadfb0d2f590dbf75c498f81eb0 100644 (file)
@@ -103,7 +103,9 @@ void balance_dirty_pages_ratelimited(struct address_space *mapping);
 int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0);
 int do_writepages(struct address_space *mapping, struct writeback_control *wbc);
 int sync_page_range(struct inode *inode, struct address_space *mapping,
-                       loff_t pos, size_t count);
+                       loff_t pos, loff_t count);
+int sync_page_range_nolock(struct inode *inode, struct address_space *mapping,
+                          loff_t pos, loff_t count);
 
 /* pdflush.c */
 extern int nr_pdflush_threads; /* Global so it can be exported to sysctl