[CIFS] fix posix open regression
authorSteve French <sfrench@us.ibm.com>
Thu, 21 May 2009 22:21:53 +0000 (22:21 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 21 May 2009 22:38:08 +0000 (22:38 +0000)
Posix open code was not properly adding the file to the
list of open files.  Fix  allocating cifsFileInfo
more than once, and adding twice to flist and tlist.
Also fix mode setting to be done in one place in these
paths.

Signed-off-by: Steve French <sfrench@us.ibm.com>
Reviewed-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Tested-by: Jeff Layton <jlayton@redhat.com>
Tested-by: Luca Tettamanti <kronos.it@gmail.com>

No differences found