diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-10-28 17:46:38 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-11-28 20:54:45 +0300 |
commit | c252849082ff525af18b4f253b3c9ece94e951ed (patch) | |
tree | 1562c6039be79ef305c921a16cb4672b03aaf594 /fs/nfsd/filecache.h | |
parent | e0aa651068bfd520afcd357af8ecd2de005fc83d (diff) | |
download | linux-c252849082ff525af18b4f253b3c9ece94e951ed.tar.xz |
NFSD: Pass the target nfsd_file to nfsd_commit()
In a moment I'm going to introduce separate nfsd_file types, one of
which is garbage-collected; the other, not. The garbage-collected
variety is to be used by NFSv2 and v3, and the non-garbage-collected
variety is to be used by NFSv4.
nfsd_commit() is invoked by both NFSv3 and NFSv4 consumers. We want
nfsd_commit() to find and use the correct variety of cached
nfsd_file object for the NFS version that is in use.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'fs/nfsd/filecache.h')
0 files changed, 0 insertions, 0 deletions