summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/parent.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/scrub/parent.c')
-rw-r--r--fs/xfs/scrub/parent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/scrub/parent.c b/fs/xfs/scrub/parent.c
index 9ca8cfe3d3d3..120e3be383fe 100644
--- a/fs/xfs/scrub/parent.c
+++ b/fs/xfs/scrub/parent.c
@@ -17,6 +17,7 @@
#include "scrub/scrub.h"
#include "scrub/common.h"
#include "scrub/readdir.h"
+#include "scrub/parent.h"
/* Set us up to scrub parents. */
int
@@ -68,7 +69,7 @@ xchk_parent_actor(
* Try to iolock the parent dir @dp in shared mode and the child dir @sc->ip
* exclusively.
*/
-STATIC int
+int
xchk_parent_lock_two_dirs(
struct xfs_scrub *sc,
struct xfs_inode *dp)