On Wed, May 16, 2012 at 11:08:03PM +0000, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> > > This patch fixes a bug in the handling of FILEIO w/ underlying block_device > resize operations where the original fd_dev->fd_dev_size was incorrectly being > used in fd_get_blocks() for READ_CAPACITY response payloads. > > It changes fd_get_blocks() to always set fd_dev->fd_dev_size based on the > current inode size when an underlying block_device is being referenced. I think you should simply stop using fd_dev_size, storing it when it recalculated all the time just causes confusion. -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html