linux/fs/nfs/blocklayout
Christoph Hellwig 921b81a8cd pnfs/blocklayout: correctly decrement extent length
When we do non-page sized reads we can underflow the extent_length variable
and read incorrect data.  Fix the extent_length calculation and change to
defensive <= checks for the extent length in the read and write path.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2014-09-10 12:47:02 -07:00
..
blocklayout.c pnfs/blocklayout: correctly decrement extent length 2014-09-10 12:47:02 -07:00
blocklayout.h NFS: Enabling v4.2 should not recompile nfsd and lockd 2013-11-19 16:20:40 -05:00
blocklayoutdev.c pnfs/blocklayout: improve GETDEVICEINFO error reporting 2014-09-10 12:47:02 -07:00
blocklayoutdm.c make blkdev_put() return void 2013-05-07 02:16:31 -04:00
extents.c nfs: fix do_div() warning by instead using sector_div() 2013-12-04 12:57:37 -05:00
Makefile pnfsblock: remove device operations 2011-07-31 12:18:16 -04:00