cifs: add and use CIFSSMBUnixSetFileInfo for setattr calls
authorJeff Layton <jlayton@redhat.com>
Fri, 10 Jul 2009 00:02:50 +0000 (20:02 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 9 Jul 2009 21:15:10 +0000 (21:15 +0000)
cifs: add and use CIFSSMBUnixSetFileInfo for setattr calls

When there's an open filehandle, SET_FILE_INFO is apparently preferred
over SET_PATH_INFO. Add a new variant that sets a FILE_UNIX_INFO_BASIC
infolevel via SET_FILE_INFO and switch cifs_setattr_unix to use the
new call when there's an open filehandle available.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

No differences found