mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
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>
This commit is contained in:
parent
3fe5c1dd0a
commit
feb3e20cee
1 changed files with 109 additions and 87 deletions
196
fs/cifs/inode.c
196
fs/cifs/inode.c
Loading…
Add table
Add a link
Reference in a new issue