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

2013-07-29 Thread Jeff Layton
On Mon, 29 Jul 2013 20:04:35 +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

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

2013-07-29 Thread Andi Shyti
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 open with cifs_posix_open, the function jumps to the label reopen_success

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

2013-07-29 Thread Andi Shyti
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 open with cifs_posix_open, the function jumps to the label reopen_success and

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

2013-07-29 Thread Jeff Layton
On Mon, 29 Jul 2013 20:04:35 +0200 Andi Shyti a...@etezian.org 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