diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-10-09 09:32:56 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-10-15 23:58:14 -0500 |
commit | c6cc4c5a72505a0ecefc9b413f16bec512f38078 (patch) | |
tree | c110cc563fd15380793545f7a646ef51dc701174 /fs/9p | |
parent | 8e670f77c4a55013db6d23b962f9bf6673a5e7b6 (diff) |
cifs: handle -EINTR in cifs_setattr
RHBZ: 1848178
Some calls that set attributes, like utimensat(), are not supposed to return
-EINTR and thus do not have handlers for this in glibc which causes us
to leak -EINTR to the applications which are also unprepared to handle it.
For example tar will break if utimensat() return -EINTR and abort unpacking
the archive. Other applications may break too.
To handle this we add checks, and retry, for -EINTR in cifs_setattr()
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions