File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -204,27 +204,6 @@ xrep_setup_directory(
204
204
return 0 ;
205
205
}
206
206
207
- /*
208
- * If we're the root of a directory tree, we are our own parent. If we're an
209
- * unlinked directory, the parent /won't/ have a link to us. Set the parent
210
- * directory to the root for both cases. Returns NULLFSINO if we don't know
211
- * what to do.
212
- */
213
- static inline xfs_ino_t
214
- xrep_dir_self_parent (
215
- struct xrep_dir * rd )
216
- {
217
- struct xfs_scrub * sc = rd -> sc ;
218
-
219
- if (sc -> ip -> i_ino == sc -> mp -> m_sb .sb_rootino )
220
- return sc -> mp -> m_sb .sb_rootino ;
221
-
222
- if (VFS_I (sc -> ip )-> i_nlink == 0 )
223
- return sc -> mp -> m_sb .sb_rootino ;
224
-
225
- return NULLFSINO ;
226
- }
227
-
228
207
/*
229
208
* Look up the dotdot entry and confirm that it's really the parent.
230
209
* Returns NULLFSINO if we don't know what to do.
You can’t perform that action at this time.
0 commit comments