]> err.no Git - linux-2.6/commit
move file time and dos attribute setting logic into new function
authorJeff Layton <jlayton@redhat.com>
Sat, 2 Aug 2008 11:26:12 +0000 (07:26 -0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 6 Aug 2008 22:28:06 +0000 (22:28 +0000)
commitfeb3e20cee25729447e1abdcb40c040b691d457a
treefab58147a5fc0fb88f757c97700dba11ff142038
parent3fe5c1dd0a8bf3756c447a28a578593176949d1d
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>
fs/cifs/inode.c