]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteba38a64f14132ceb4d617605a6bc1d709de89e9
treea5bd52d4281795786b41153c50a4fb41ee8bd0c3
parent089fff61d533207f8baf211ebb6eb9928e5a6534
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