commit | feb3e20cee25729447e1abdcb40c040b691d457a | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Sat Aug 02 07:26:12 2008 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Wed Aug 06 22:28:06 2008 +0000 |
tree | fab58147a5fc0fb88f757c97700dba11ff142038 | |
parent | 3fe5c1dd0a8bf3756c447a28a578593176949d1d [diff] |
move file time and dos attribute setting logic into new function Break up cifs_setattr further by moving the logic that sets file times and dos attributes into a separate function. This patch also refactors the logic a bit so that when the file is already open then we go ahead and do a SetFileInfo call. SetPathInfo seems to be unreliable when setting times on open files. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>