* GPL HEADER END
*/
/*
- * Copyright (c) 2013, 2015, Intel Corporation.
+ * Copyright (c) 2013, 2017, Intel Corporation.
*/
/*
* lustre/lfsck/lfsck_bookmark.c
#include <lu_object.h>
#include <dt_object.h>
#include <lustre_fid.h>
-#include <lustre/lustre_user.h>
+#include <lu_target.h>
#include "lfsck_internal.h"
if (IS_ERR(root))
RETURN(PTR_ERR(root));
- if (unlikely(!dt_try_as_dir(env, root))) {
+ if (unlikely(!dt_try_as_dir(env, root, true))) {
lfsck_object_put(env, root);
RETURN(-ENOTDIR);