Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
{
struct pnfs_block_layout *bl = BLK_LO2EXT(lo);
sector_t offset = range->offset >> SECTOR_SHIFT, end;
- int err;
if (range->offset % 8) {
dprintk("%s: offset %lld not block size aligned\n",
end = round_down(NFS4_MAX_UINT64, PAGE_SIZE);
}
- err = ext_tree_remove(bl, range->iomode & IOMODE_RW, offset, end);
+ ext_tree_remove(bl, range->iomode & IOMODE_RW, offset, end);
}
static int
{
struct pnfs_block_extent *be;
sector_t len1 = 0, len2 = 0;
- sector_t orig_f_offset;
sector_t orig_v_offset;
sector_t orig_len;
if (be->be_f_offset >= end)
return 0;
- orig_f_offset = be->be_f_offset;
orig_v_offset = be->be_v_offset;
orig_len = be->be_length;