linux-next/fs/minix
Christoph Hellwig 2d1a9d599b 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>
2023-01-19 19:26:34 -05:00
..
bitmap.c minix: make minix_new_inode() return error as ERR_PTR(-E...) 2023-01-11 15:30:08 -05:00
dir.c minix: fix error handling in minix_set_link 2023-01-19 19:26:34 -05:00
file.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
inode.c fs: Convert block_read_full_page() to block_read_full_folio() 2022-05-09 16:21:44 -04:00
itree_common.c fs/minix: check return value of sb_getblk() 2020-08-12 10:58:00 -07:00
itree_v1.c fs/minix: remove expected error message in block_to_path() 2020-08-12 10:58:00 -07:00
itree_v2.c fs/minix: remove expected error message in block_to_path() 2020-08-12 10:58:00 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
minix.h minix: fix error handling in minix_set_link 2023-01-19 19:26:34 -05:00
namei.c minix: fix error handling in minix_set_link 2023-01-19 19:26:34 -05:00