diff options
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 058d7d63e566..57bb31ad7a5e 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -641,7 +641,6 @@ struct nfs_open_context *alloc_nfs_open_context(struct path *path, struct rpc_cr | |||
641 | ctx->mode = f_mode; | 641 | ctx->mode = f_mode; |
642 | ctx->flags = 0; | 642 | ctx->flags = 0; |
643 | ctx->error = 0; | 643 | ctx->error = 0; |
644 | ctx->dir_cookie = 0; | ||
645 | nfs_init_lock_context(&ctx->lock_context); | 644 | nfs_init_lock_context(&ctx->lock_context); |
646 | ctx->lock_context.open_context = ctx; | 645 | ctx->lock_context.open_context = ctx; |
647 | INIT_LIST_HEAD(&ctx->list); | 646 | INIT_LIST_HEAD(&ctx->list); |
@@ -1473,6 +1472,7 @@ static inline void nfs4_init_once(struct nfs_inode *nfsi) | |||
1473 | nfsi->delegation_state = 0; | 1472 | nfsi->delegation_state = 0; |
1474 | init_rwsem(&nfsi->rwsem); | 1473 | init_rwsem(&nfsi->rwsem); |
1475 | nfsi->layout = NULL; | 1474 | nfsi->layout = NULL; |
1475 | atomic_set(&nfsi->commits_outstanding, 0); | ||
1476 | #endif | 1476 | #endif |
1477 | } | 1477 | } |
1478 | 1478 | ||