summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJeff Layton <jeff.layton@primarydata.com>2019-08-18 20:18:52 +0200
committerJ. Bruce Fields <bfields@redhat.com>2019-08-19 17:09:09 +0200
commitfd4f83fd7dfb1bce2f1af51fcbaf6575f4b9d189 (patch)
treef9a0b6ef5effa36378abd74ab507488cceff7a17 /fs/nfsd/state.h
parentnfsd: hook nfsd_commit up to the nfsd_file cache (diff)
downloadlinux-fd4f83fd7dfb1bce2f1af51fcbaf6575f4b9d189.tar.xz
linux-fd4f83fd7dfb1bce2f1af51fcbaf6575f4b9d189.zip
nfsd: convert nfs4_file->fi_fds array to use nfsd_files
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/nfsd/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 5dbd16946e8e..8196bfb74f12 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -506,7 +506,7 @@ struct nfs4_file {
};
struct list_head fi_clnt_odstate;
/* One each for O_RDONLY, O_WRONLY, O_RDWR: */
- struct file * fi_fds[3];
+ struct nfsd_file *fi_fds[3];
/*
* Each open or lock stateid contributes 0-4 to the counts
* below depending on which bits are set in st_access_bitmap: