diff options
Diffstat (limited to 'fs/jbd/commit.c')
| -rw-r--r-- | fs/jbd/commit.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/fs/jbd/commit.c b/fs/jbd/commit.c index 2a3e310f79e..002ad2bbc76 100644 --- a/fs/jbd/commit.c +++ b/fs/jbd/commit.c @@ -261,10 +261,8 @@ void journal_commit_transaction(journal_t *journal)  			struct buffer_head *bh = jh2bh(jh);  			jbd_lock_bh_state(bh); -			if (jh->b_committed_data) { -				kfree(jh->b_committed_data); -				jh->b_committed_data = NULL; -			} +			kfree(jh->b_committed_data); +			jh->b_committed_data = NULL;  			jbd_unlock_bh_state(bh);  		}  		journal_refile_buffer(journal, jh); | 
