Skip to content
Commit 88072faf authored by Ryusuke Konishi's avatar Ryusuke Konishi
Browse files

nilfs2: fix wrong accounting and duplicate brelse in nilfs_sufile_set_error



The nilfs_sufile_set_error() function wrongly adjusts the number of
dirty segments instead of the number of clean segments.  In addition,
the function calls brelse() twice for the same buffer head.

This fixes these bugs.

Signed-off-by: default avatarRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
parent 3efb55b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment