]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/inode.c
NFS: initialize flags field in nfs_open_context
[linux-2.6-omap-h63xx.git] / fs / nfs / inode.c
index a4c7cf2bff3a61131d1de68dbb770833e3c8e124..6f88d7c77ac98e1b4bdb5a8f0b347227c271d5ac 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);