]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pnfs-obj: Remove redundant EOF from objlayout_io_state
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 31 Oct 2011 21:45:06 +0000 (14:45 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 3 Nov 2011 03:56:00 +0000 (23:56 -0400)
commit4cdc685c7d06f659ef6c336d4242005cdd8df401
treeaf4074fae08ad9d24b035b54ab065f90bae31b5f
parent994c0e992522c123298b4a91b72f5e67ba2d1123
pnfs-obj: Remove redundant EOF from objlayout_io_state

The EOF calculation was done on .read_pagelist(), cached
in objlayout_io_state->eof, and set in objlayout_read_done()
into nfs_read_data->res.eof.

So set it directly into nfs_read_data->res.eof and avoid
the extra member.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/objlayout/objlayout.c
fs/nfs/objlayout/objlayout.h