diff options
Diffstat (limited to 'fs/reiserfs/journal.c')
-rw-r--r-- | fs/reiserfs/journal.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c index 36346dc4cec0..4517a1394c6f 100644 --- a/fs/reiserfs/journal.c +++ b/fs/reiserfs/journal.c | |||
@@ -94,7 +94,7 @@ static int journal_join(struct reiserfs_transaction_handle *th, | |||
94 | struct super_block *sb); | 94 | struct super_block *sb); |
95 | static void release_journal_dev(struct super_block *super, | 95 | static void release_journal_dev(struct super_block *super, |
96 | struct reiserfs_journal *journal); | 96 | struct reiserfs_journal *journal); |
97 | static int dirty_one_transaction(struct super_block *s, | 97 | static void dirty_one_transaction(struct super_block *s, |
98 | struct reiserfs_journal_list *jl); | 98 | struct reiserfs_journal_list *jl); |
99 | static void flush_async_commits(struct work_struct *work); | 99 | static void flush_async_commits(struct work_struct *work); |
100 | static void queue_log_writer(struct super_block *s); | 100 | static void queue_log_writer(struct super_block *s); |
@@ -1682,12 +1682,11 @@ next: | |||
1682 | } | 1682 | } |
1683 | 1683 | ||
1684 | /* used by flush_commit_list */ | 1684 | /* used by flush_commit_list */ |
1685 | static int dirty_one_transaction(struct super_block *s, | 1685 | static void dirty_one_transaction(struct super_block *s, |
1686 | struct reiserfs_journal_list *jl) | 1686 | struct reiserfs_journal_list *jl) |
1687 | { | 1687 | { |
1688 | struct reiserfs_journal_cnode *cn; | 1688 | struct reiserfs_journal_cnode *cn; |
1689 | struct reiserfs_journal_list *pjl; | 1689 | struct reiserfs_journal_list *pjl; |
1690 | int ret = 0; | ||
1691 | 1690 | ||
1692 | jl->j_state |= LIST_DIRTY; | 1691 | jl->j_state |= LIST_DIRTY; |
1693 | cn = jl->j_realblock; | 1692 | cn = jl->j_realblock; |
@@ -1716,7 +1715,6 @@ static int dirty_one_transaction(struct super_block *s, | |||
1716 | } | 1715 | } |
1717 | cn = cn->next; | 1716 | cn = cn->next; |
1718 | } | 1717 | } |
1719 | return ret; | ||
1720 | } | 1718 | } |
1721 | 1719 | ||
1722 | static int kupdate_transactions(struct super_block *s, | 1720 | static int kupdate_transactions(struct super_block *s, |