[PATCH] Drop reliance on file->f_dentry in NFS reads/writes
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 5 Feb 2002 09:24:21 +0000 (01:24 -0800)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 5 Feb 2002 09:24:21 +0000 (01:24 -0800)
commitbcfb332a1c95b30b04a08c543de8720f9b308645
tree13178c0b07232682a14c2d534c6cfd1098d00976
parentb67b3c161c25bbfc47216112a4081a17410cb0bb
[PATCH] Drop reliance on file->f_dentry in NFS reads/writes

Following a request by David Chow on linux fsdevel, this patch causes
NFS read and write requests to take the inode from page->mapping->host
rather than relying on file->f_dentry->d_inode. Apparently this will
simplify some work he is doing on another filesystem.

In any case, it cleans up the current mix of sometimes doing one
thing, sometimes the other (historical cruft), and puts NFS client
behaviour on par with what is done in other filesystems...
fs/nfs/read.c
fs/nfs/write.c