diff options
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 4a1c4d80a577..dd1aa2b598ce 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -139,9 +139,11 @@ struct nfs4_state { | |||
139 | unsigned long flags; /* Do we hold any locks? */ | 139 | unsigned long flags; /* Do we hold any locks? */ |
140 | spinlock_t state_lock; /* Protects the lock_states list */ | 140 | spinlock_t state_lock; /* Protects the lock_states list */ |
141 | 141 | ||
142 | seqlock_t seqlock; /* Protects the stateid/open_stateid */ | ||
142 | nfs4_stateid stateid; /* Current stateid: may be delegation */ | 143 | nfs4_stateid stateid; /* Current stateid: may be delegation */ |
143 | nfs4_stateid open_stateid; /* OPEN stateid */ | 144 | nfs4_stateid open_stateid; /* OPEN stateid */ |
144 | 145 | ||
146 | /* The following 3 fields are protected by owner->so_lock */ | ||
145 | unsigned int n_rdonly; /* Number of read-only references */ | 147 | unsigned int n_rdonly; /* Number of read-only references */ |
146 | unsigned int n_wronly; /* Number of write-only references */ | 148 | unsigned int n_wronly; /* Number of write-only references */ |
147 | unsigned int n_rdwr; /* Number of read/write references */ | 149 | unsigned int n_rdwr; /* Number of read/write references */ |