Whamcloud - gitweb
revoke.c:
authorTheodore Ts'o <tytso@mit.edu>
Thu, 29 Mar 2001 19:16:44 +0000 (19:16 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 29 Mar 2001 19:16:44 +0000 (19:16 +0000)
  Make insert_revoke_hash static (since it's not used outside this function).

e2fsck/revoke.c

index 5e98f51..28f8fa2 100644 (file)
@@ -114,7 +114,8 @@ static inline int hash(journal_t *journal, unsigned long block)
                (block << (hash_shift - 12))) & (table->hash_size - 1);
 }
 
-int insert_revoke_hash(journal_t *journal, unsigned long blocknr, tid_t seq)
+static int insert_revoke_hash(journal_t *journal,
+                             unsigned long blocknr, tid_t seq)
 {
        struct list_head *hash_list;
        struct jfs_revoke_record_s *record;