Re: [PATCH RESEND] cifs: file: initialize oparms.reconnect before using it

2013-07-29 Thread Andi Shyti
> > + oparms.tcon = tcon; > > + oparms.cifs_sb = cifs_sb; > > + oparms.desired_access = desired_access; > > + oparms.create_options = create_options; > > This patch just moves the brokenness around. You're > setting .desired_access here to an unintialized variable. > create_options also lo

Re: [PATCH RESEND] cifs: file: initialize oparms.reconnect before using it

2013-07-29 Thread Jeff Layton
On Mon, 29 Jul 2013 10:58:13 +0200 Andi Shyti wrote: > In the cifs_reopen_file function, if the following statement is > asserted: > > (tcon->unix_ext && cap_unix(tcon->ses) && > (CIFS_UNIX_POSIX_PATH_OPS_CAP & > (tcon->fsUnixInfo.Capability))) > > and we succeed to