]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/jbd2.h
writeback: get rid of wbc->for_writepages
[karo-tx-linux.git] / include / linux / jbd2.h
index cc02393bfce83145589403e3e8609de1b74ea1a8..d97eb652d6cabc48c543a51941237f2d6e4c780f 100644 (file)
@@ -1315,6 +1315,12 @@ extern int jbd_blocks_per_page(struct inode *inode);
 #define BUFFER_TRACE2(bh, bh2, info)   do {} while (0)
 #define JBUFFER_TRACE(jh, info)        do {} while (0)
 
+/* 
+ * jbd2_dev_to_name is a utility function used by the jbd2 and ext4 
+ * tracing infrastructure to map a dev_t to a device name.
+ */
+extern const char *jbd2_dev_to_name(dev_t device);
+
 #endif /* __KERNEL__ */
 
 #endif /* _LINUX_JBD2_H */