NFS: Simplify O_DIRECT page referencing
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 17:27:31 +0000 (13:27 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 18:33:52 +0000 (14:33 -0400)
commit6d74743b088d116e31fe1b73f47e782ee2016b94
treea5bd52d4281795786b41153c50a4fb41ee8bd0c3
parent3e9e0ca3f19e911ce13c2e6c9858fcb41a37496c
NFS: Simplify O_DIRECT page referencing

The O_DIRECT code shouldn't need to hold 2 references to each page. The
reference held by the struct nfs_page should suffice.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Fred Isaman <iisaman@netapp.com>
fs/nfs/direct.c