[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140526163759.GL22284@thunk.org>
Date: Mon, 26 May 2014 12:37:59 -0400
From: Theodore Ts'o <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org,
Xiaoguang Wang <wangxg.fnst@...fujitsu.com>,
stable@...r.kernel.org
Subject: Re: [PATCH] ext4: Fix zeroing of page during writeback
On Thu, May 22, 2014 at 05:06:43PM +0200, Jan Kara wrote:
> Tail of a page straddling inode size must be zeroed when being written
> out due to POSIX requirement that modifications of mmaped page beyond
> inode size must not be written to the file. ext4_bio_write_page() did
> this only for blocks fully beyond inode size but didn't properly zero
> blocks partially beyond inode size. Fix this.
>
> The problem has been uncovered by mmap_11-4 test in openposix test suite
> (part of LTP).
>
> Reported-by: Xiaoguang Wang <wangxg.fnst@...fujitsu.com>
> Fixes: 5a0dc7365c240
> Fixes: bd2d0210cf22f
> CC: stable@...r.kernel.org
> Signed-off-by: Jan Kara <jack@...e.cz>
Applied, thanks.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists