Merge branch 'devel'
[sfrench/cifs-2.6.git] / fs / nfs / inode.c
index 15f787355d2753ab8bb4739a946f82467b7b2cf9..5cb3345eb6940a7532457f447d7ea77d89b86113 100644 (file)
@@ -506,6 +506,7 @@ static struct nfs_open_context *alloc_nfs_open_context(struct vfsmount *mnt, str
                ctx->cred = get_rpccred(cred);
                ctx->state = NULL;
                ctx->lockowner = current->files;
+               ctx->flags = 0;
                ctx->error = 0;
                ctx->dir_cookie = 0;
                atomic_set(&ctx->count, 1);