From: Yiannis Pericleous <yiannos@xxxxxxxxxxxxxxxxx> Signed-off-by: Yiannis Pericleous <yiannos@xxxxxxxxxxxxxxxxx> Signed-off-by: Josef 'Jeff' Sipek <jsipek@xxxxxxxxxxxxx> --- fs/unionfs/super.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index bfd6c24..fe02941 100644 --- a/fs/unionfs/super.c +++ b/fs/unionfs/super.c @@ -699,10 +699,12 @@ out_no_change: i = atomic_inc_return(&UNIONFS_SB(sb)->generation); atomic_set(&UNIONFS_D(sb->s_root)->generation, i); atomic_set(&UNIONFS_I(sb->s_root->d_inode)->generation, i); - if (!(*flags & MS_SILENT)) - printk("unionfs: new generation number %d\n", i); + err = 0; /* reset to success */ + if (!(*flags & MS_SILENT)) + printk("unionfs: new generation number %d\n", i); + /* * The code above falls through to the next label, and releases the * refcnts of the older ones (stored in tmp_*): if we fell through -- 1.5.2.rc1.165.gaf9b - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html