Re: [patch] fix the ext3 data=journal unmount bug

Matthias Andree (matthias.andree@gmx.de)
Sat, 7 Dec 2002 15:54:40 +0100


On Thu, 05 Dec 2002, Andrew Morton wrote:

> fs/buffer.c | 6 ++++--
> fs/ext3/super.c | 25 +++++++++++++------------
> fs/super.c | 6 +++++-
> include/linux/fs.h | 3 ++-
> 4 files changed, 24 insertions(+), 16 deletions(-)
>
> --- linux-akpm/fs/buffer.c~sync_fs Thu Dec 5 21:33:56 2002
> +++ linux-akpm-akpm/fs/buffer.c Thu Dec 5 21:33:56 2002
> @@ -327,6 +327,8 @@ int fsync_super(struct super_block *sb)
> lock_super(sb);
> if (sb->s_dirt && sb->s_op && sb->s_op->write_super)
> sb->s_op->write_super(sb);
> + if (sb->s_op && sb->s_op->sync_fs)
> + sb->s_op->sync_fs(sb);
> unlock_super(sb);
> unlock_kernel();

Against what kernel version is this?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/