* [PATCH] fsck.f2fs: add a missing 'fixed' during chk_dentries()
@ 2014-11-13 23:20 JP Abgrall
0 siblings, 0 replies; only message in thread
From: JP Abgrall @ 2014-11-13 23:20 UTC (permalink / raw)
To: linux-f2fs-devel
One of the cases would update the dentries but not set
fixed=1 causing the update to not be written out.
Change-Id: I111d599f93f7d5306dacd7d62da946fdb5c262ee
Signed-off-by: JP Abgrall <jpa@google.com>
---
:100644 100644 78737d5... fa667dc... M fsck/fsck.c
fsck/fsck.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fsck/fsck.c b/fsck/fsck.c
index 78737d5..fa667dc 100644
--- a/fsck/fsck.c
+++ b/fsck/fsck.c
@@ -739,6 +739,7 @@ static int __chk_dentries(struct f2fs_sb_info *sbi, u32 *child_cnt,
dentry[i].file_type);
i += slots;
free(name);
+ fixed = 1;
continue;
}
--
2.1.0.rc2.206.gedb03e5
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-13 23:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13 23:20 [PATCH] fsck.f2fs: add a missing 'fixed' during chk_dentries() JP Abgrall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).