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)
commit3bbeeb3c93a961bd01b969dd4395ecac0c09db8d
tree57f003be4cb7a78094a3806df463844371329a85
parent654cf14ac0a71c56c1f0032140c3403382ca076b
cifs: add and use CIFSSMBUnixSetFileInfo for setattr calls

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>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/inode.c