aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig2023-01-18 18:30:23 +0100
committerAl Viro2023-01-19 19:26:34 -0500
commit2d1a9d599b3ed9b9c58f64b8b71b5b9d770ceacf (patch)
tree05fbead28b1adb47e8dcc4535b6b1492bef59b97 /include
parentb61d15d5ff67c07907c194d4354ec0c35bc657d1 (diff)
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 'include')
0 files changed, 0 insertions, 0 deletions