]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd: hook up nfsd_write to the new nfsd_file cache
authorJeff Layton <jlayton@poochiereds.net>
Tue, 20 Oct 2015 17:33:45 +0000 (13:33 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 23 Oct 2015 19:57:40 +0000 (15:57 -0400)
commitcab2d4896199283d5dcaf3649f4d54d375b9eac0
tree5ce0d640b1fc5b231cf7871f30c596945a507d4c
parent77ffc7cc397b33d55f53482e8ee3336d2968708f
nfsd: hook up nfsd_write to the new nfsd_file cache

Note that all callers currently pass in NULL for "file" anyway, so
there was already some dead code in here. Just eliminate that parm
and have it use the file cache instead of dealing directly with a
filp.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs3proc.c
fs/nfsd/nfsproc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h