aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/sb.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-05 14:16:32 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-13 19:23:57 +0300
commitc1f1f91d2183b91c684900b529b6c336ad3dd27c (patch)
treea4df1e218b75bfbfa60c304a83d6364ef0320ce4 /fs/ubifs/sb.c
parentUBIFS: fix debugging FS checking failure (diff)
downloadlinux-dev-c1f1f91d2183b91c684900b529b6c336ad3dd27c.tar.xz
linux-dev-c1f1f91d2183b91c684900b529b6c336ad3dd27c.zip
UBIFS: fix inode size debugging check failure
This patch fixes a problem with the following symptoms: UBIFS: deferred recovery completed UBIFS error (pid 15676): dbg_check_synced_i_size: ui_size is 11481088, synced_i_size is 11459081, but inode is clean UBIFS error (pid 15676): dbg_check_synced_i_size: i_ino 128, i_mode 0x81a4, i_size 11481088 It happens when additional debugging checks are enabled and we are recovering from a power cut. When we fixup corrupted inode size during recovery, we change them in-place and we change ui_size as well, but not synced_i_size, which causes this failure. This patch makes sure we change both fields and fixes the issue. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/sb.c')
0 files changed, 0 insertions, 0 deletions