File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -461,7 +461,6 @@ int reiserfs_in_journal(struct super_block *sb,
461
461
b_blocknr_t * next_zero_bit )
462
462
{
463
463
struct reiserfs_journal * journal = SB_JOURNAL (sb );
464
- struct reiserfs_journal_cnode * cn ;
465
464
struct reiserfs_list_bitmap * jb ;
466
465
int i ;
467
466
unsigned long bl ;
@@ -497,13 +496,12 @@ int reiserfs_in_journal(struct super_block *sb,
497
496
bl = bmap_nr * (sb -> s_blocksize << 3 ) + bit_nr ;
498
497
/* is it in any old transactions? */
499
498
if (search_all
500
- && (cn =
501
- get_journal_hash_dev (sb , journal -> j_list_hash_table , bl ))) {
499
+ && (get_journal_hash_dev (sb , journal -> j_list_hash_table , bl ))) {
502
500
return 1 ;
503
501
}
504
502
505
503
/* is it in the current transaction. This should never happen */
506
- if ((cn = get_journal_hash_dev (sb , journal -> j_hash_table , bl ))) {
504
+ if ((get_journal_hash_dev (sb , journal -> j_hash_table , bl ))) {
507
505
BUG ();
508
506
return 1 ;
509
507
}
You can’t perform that action at this time.
0 commit comments