aboutsummaryrefslogtreecommitdiffstats
path: root/fsck/pass1.c
diff options
context:
space:
mode:
Diffstat (limited to 'fsck/pass1.c')
-rw-r--r--fsck/pass1.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/fsck/pass1.c b/fsck/pass1.c
index 1246242..17dcbf7 100644
--- a/fsck/pass1.c
+++ b/fsck/pass1.c
@@ -24,18 +24,6 @@ struct buffer_head *make_buffer(int dev, unsigned long blocknr, int size,
return bh;
}
-static int find_not_of_one_file(struct reiserfs_key *to_find,
- struct reiserfs_key *key)
-{
- if ((get_key_objectid(to_find) != ~(__u32) 0) &&
- (get_key_objectid(to_find) != get_key_objectid(key)))
- return 1;
- if ((get_key_dirid(to_find) != ~(__u32) 0) &&
- (get_key_dirid(to_find) != get_key_dirid(key)))
- return 1;
- return 0;
-}
-
int is_item_reachable(struct item_head *ih)
{
return ih_reachable(ih) ? 1 : 0;