diff options
author | 2017-11-03 13:41:40 +1100 | |
---|---|---|
committer | 2017-11-06 20:20:26 +1100 | |
commit | efe6941450b80927d3a5721594b7f103cb0c7428 (patch) | |
tree | 72dfff942caf4043a5d34dd37b4464dc088d45d0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: powernv_flash: Remove pointless goto in driver init (diff) | |
download | wireguard-linux-efe6941450b80927d3a5721594b7f103cb0c7428.tar.xz wireguard-linux-efe6941450b80927d3a5721594b7f103cb0c7428.zip |
mtd: powernv_flash: Don't return -ERESTARTSYS on interrupted token acquisition
Because the MTD core might split up a read() or write() from userspace
into several calls to the driver, we may fail to get a token but already
have done some work, best to return -EINTR back to userspace and have
them decide what to do.
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions