aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorGuo Chao <[email protected]>2013-02-21 15:16:42 -0800
committerJens Axboe <[email protected]>2013-02-22 10:42:46 +0100
commitd646a02a9d44d1421f273ae3923d97b47b918176 (patch)
tree371fd1c8f675ff8532337b913a24237501c7d394 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parenta3cc86c2f00839453d2dbeb46bfc44e885b073db (diff)
block: use i_size_write() in bd_set_size()
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]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions