diff options
author | 2023-01-18 18:30:23 +0100 | |
---|---|---|
committer | 2023-01-19 19:26:34 -0500 | |
commit | 2d1a9d599b3ed9b9c58f64b8b71b5b9d770ceacf (patch) | |
tree | 05fbead28b1adb47e8dcc4535b6b1492bef59b97 /tools/perf/scripts/python/task-analyzer.py | |
parent | minix: fix error handling in minix_delete_entry (diff) | |
download | wireguard-linux-2d1a9d599b3ed9b9c58f64b8b71b5b9d770ceacf.tar.xz wireguard-linux-2d1a9d599b3ed9b9c58f64b8b71b5b9d770ceacf.zip |
minix: fix error handling in minix_set_link
If minix_prepare_chunk fails, updating c/mtime and marking the
dir inode dirty is wrong, as the inode hasn't been modified. Also
propagate the error to the caller.
Note that this moves the dir_put_page call later, but that matches
other uses of this helper in the directory code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions