]> Git Repo - linux.git/commit - fs/cifs/inode.c
move file time and dos attribute setting logic into new function
authorJeff Layton <[email protected]>
Sat, 2 Aug 2008 11:26:12 +0000 (07:26 -0400)
committerSteve French <[email protected]>
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 <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/inode.c
This page took 0.05411 seconds and 4 git commands to generate.