summaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2020-10-09 09:32:56 +1000
committerSteve French <stfrench@microsoft.com>2020-10-15 23:58:14 -0500
commitc6cc4c5a72505a0ecefc9b413f16bec512f38078 (patch)
treec110cc563fd15380793545f7a646ef51dc701174 /fs/9p
parent8e670f77c4a55013db6d23b962f9bf6673a5e7b6 (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