xfs: add a per-leaf block callback to xchk_xattr_walk
[linux-2.6-block.git] / fs / xfs / scrub / listxattr.h
index 48fe89d05946b23337292f8d8944af4638257b55..703cfb7b14cfd33151f374a5b8dcaf9d2c039c50 100644 (file)
@@ -11,7 +11,9 @@ typedef int (*xchk_xattr_fn)(struct xfs_scrub *sc, struct xfs_inode *ip,
                unsigned int namelen, const void *value, unsigned int valuelen,
                void *priv);
 
+typedef int (*xchk_xattrleaf_fn)(struct xfs_scrub *sc, void *priv);
+
 int xchk_xattr_walk(struct xfs_scrub *sc, struct xfs_inode *ip,
-               xchk_xattr_fn attr_fn, void *priv);
+               xchk_xattr_fn attr_fn, xchk_xattrleaf_fn leaf_fn, void *priv);
 
 #endif /* __XFS_SCRUB_LISTXATTR_H__ */