cifs: switch cifs_open and cifs_create to use CIFSSMBUnixSetFileInfo
authorJeff Layton <jlayton@redhat.com>
Fri, 7 Jan 2011 16:30:29 +0000 (11:30 -0500)
committerSteve French <sfrench@us.ibm.com>
Sun, 9 Jan 2011 23:39:24 +0000 (23:39 +0000)
commitd44a9fe2c8af3fee8edb203e9b11e507851c50fa
tree3deff359e1d04811af9c0b232107180d6bd490cd
parentca40b714b8f9f20118b7071cb7cf49954166dbdf
cifs: switch cifs_open and cifs_create to use CIFSSMBUnixSetFileInfo

We call CIFSSMBUnixSetPathInfo in these functions, but we have a
filehandle since an open was just done. Switch these functions to
use CIFSSMBUnixSetFileInfo instead.

In practice, these codepaths are only used if posix opens are broken.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/dir.c
fs/cifs/file.c