Commit 9ae78bcc authored by J. Bruce Fields's avatar J. Bruce Fields

nfsd4: fix comment and remove unused nfsd4_file fields

A couple fields here were left over from a previous version of a patch,
and are no longer used.
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent d2b21743
...@@ -367,16 +367,12 @@ struct nfs4_file { ...@@ -367,16 +367,12 @@ struct nfs4_file {
struct list_head fi_delegations; struct list_head fi_delegations;
/* One each for O_RDONLY, O_WRONLY, O_RDWR: */ /* One each for O_RDONLY, O_WRONLY, O_RDWR: */
struct file * fi_fds[3]; struct file * fi_fds[3];
/* One each for O_RDONLY, O_WRONLY: */
atomic_t fi_access[2];
/* /*
* Each open stateid contributes 1 to either fi_readers or * Each open or lock stateid contributes 1 to either
* fi_writers, or both, depending on the open mode. A * fi_access[O_RDONLY], fi_access[O_WRONLY], or both, depending
* delegation also takes an fi_readers reference. Lock * on open or lock mode:
* stateid's take none.
*/ */
atomic_t fi_readers; atomic_t fi_access[2];
atomic_t fi_writers;
struct file *fi_deleg_file; struct file *fi_deleg_file;
struct file_lock *fi_lease; struct file_lock *fi_lease;
atomic_t fi_delegees; atomic_t fi_delegees;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment