diff options
author | Fred Isaman <iisaman@netapp.com> | 2011-03-23 16:27:53 +0300 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-23 22:29:04 +0300 |
commit | e0c2b3801828aadb65dec9f67f7c6b7a675ad007 (patch) | |
tree | 547d70967ad8f41a18f2d3112dbd12e64f972af2 /fs/nfs/inode.c | |
parent | 988b6dceb0ae6d642587c8594529b94f6be0c5ea (diff) | |
download | linux-e0c2b3801828aadb65dec9f67f7c6b7a675ad007.tar.xz |
NFSv4.1: filelayout driver specific code for COMMIT
Implement all the hooks created in the previous patches.
This requires exporting quite a few functions and adding a few
structure fields.
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 477a2e512b39..229e586b1a20 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -1470,6 +1470,7 @@ static inline void nfs4_init_once(struct nfs_inode *nfsi) nfsi->delegation_state = 0; init_rwsem(&nfsi->rwsem); nfsi->layout = NULL; + atomic_set(&nfsi->commits_outstanding, 0); #endif } |