diff options
| author | 2020-02-18 18:07:57 -0600 | |
|---|---|---|
| committer | 2020-03-22 22:49:09 -0500 | |
| commit | ffdec8d64291c5d2e61da96cc64fbb57469fd5cf (patch) | |
| tree | 14f8f443d59f75a5d1678fe0ed4001a251d94d81 /lib/kasprintf.c | |
| parent | Linux 5.6-rc7 (diff) | |
| download | linux-dev-ffdec8d64291c5d2e61da96cc64fbb57469fd5cf.tar.xz linux-dev-ffdec8d64291c5d2e61da96cc64fbb57469fd5cf.zip | |
cifs: do not ignore the SYNC flags in getattr
Check the AT_STATX_FORCE_SYNC flag and force an attribute
revalidation if requested by the caller, and if the caller
specificies AT_STATX_DONT_SYNC only revalidate cached attributes
if required. In addition do not flush writes in getattr (which
can be expensive) if size or timestamps not requested by the
caller.
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions
