File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -2075,21 +2075,6 @@ static void __jbd2_journal_unfile_buffer(struct journal_head *jh)
2075
2075
jh -> b_transaction = NULL ;
2076
2076
}
2077
2077
2078
- void jbd2_journal_unfile_buffer (journal_t * journal , struct journal_head * jh )
2079
- {
2080
- struct buffer_head * bh = jh2bh (jh );
2081
-
2082
- /* Get reference so that buffer cannot be freed before we unlock it */
2083
- get_bh (bh );
2084
- spin_lock (& jh -> b_state_lock );
2085
- spin_lock (& journal -> j_list_lock );
2086
- __jbd2_journal_unfile_buffer (jh );
2087
- spin_unlock (& journal -> j_list_lock );
2088
- spin_unlock (& jh -> b_state_lock );
2089
- jbd2_journal_put_journal_head (jh );
2090
- __brelse (bh );
2091
- }
2092
-
2093
2078
/**
2094
2079
* jbd2_journal_try_to_free_buffers() - try to free page buffers.
2095
2080
* @journal: journal for operation
Original file line number Diff line number Diff line change @@ -1396,7 +1396,6 @@ JBD2_FEATURE_INCOMPAT_FUNCS(fast_commit, FAST_COMMIT)
1396
1396
*/
1397
1397
1398
1398
/* Filing buffers */
1399
- extern void jbd2_journal_unfile_buffer (journal_t * , struct journal_head * );
1400
1399
extern bool __jbd2_journal_refile_buffer (struct journal_head * );
1401
1400
extern void jbd2_journal_refile_buffer (journal_t * , struct journal_head * );
1402
1401
extern void __jbd2_journal_file_buffer (struct journal_head * , transaction_t * , int );
You can’t perform that action at this time.
0 commit comments