On Fri, 2013-03-15 at 18:24 -0400, Jeff Mahoney wrote:
> Commit d646a02a9d44d1421f273ae3923d97b47b918176 upstream.
> 
> blkdev_ioctl(GETBLKSIZE) uses i_size_read() to read size of block device.
> If we update block size directly, reader may see intermediate result in
> some machines and configurations.  Use i_size_write() instead.
> 
> Signed-off-by: Guo Chao <[email protected]>
> Cc: Alexander Viro <[email protected]>
> Cc: Guo Chao <[email protected]>
> Cc: M. Hindess <[email protected]>
> Cc: Nikanth Karthikesan <[email protected]>
> Cc: Jens Axboe <[email protected]>
> Cc: [email protected] # 3.0 3.2 3.4 3.8
> Signed-off-by: Andrew Morton <[email protected]>
> Signed-off-by: Jens Axboe <[email protected]>
> Acked-by: Jeff Mahoney <[email protected]>
[...]

Queued up for 3.2, thanks.

Ben.

-- 
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to