On Tue, Mar 02, 2010 at 06:40:47PM +0100, Jan Kara wrote: > Sometimes invalidate_bdev() can fail to invalidate a part of block > device cache because of dirty data. If the filesystem has blocksize > smaller than page size, this can happen even for pages containing > quota files and thus kernel would operate on stale data. Fix the > issue by syncing the filesystem before invalidating the cache. Looks good to me, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html