linux/fs/adfs
Russell King f6075c7907 fs/adfs: dir: improve update failure handling
When we update a directory, a number of errors may happen. If we failed
to find the entry to update, we can just release the directory buffers
as normal.

However, if we have some other error, we may have partially updated the
buffers, resulting in an invalid directory. In this case, we need to
discard the buffers to avoid writing the contents back to the media, and
later re-read the directory from the media.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2020-01-20 20:12:41 -05:00
..
adfs.h fs/adfs: dir: add generic directory reading 2020-01-20 20:12:41 -05:00
dir_f.c fs/adfs: dir: add helper to mark directory buffers dirty 2020-01-20 20:12:41 -05:00
dir_f.h fs/adfs: dir: modernise on-disk directory structures 2020-01-20 20:12:41 -05:00
dir_fplus.c fs/adfs: dir: add generic directory reading 2020-01-20 20:12:41 -05:00
dir_fplus.h fs/adfs: dir: modernise on-disk directory structures 2020-01-20 20:12:41 -05:00
dir.c fs/adfs: dir: improve update failure handling 2020-01-20 20:12:41 -05:00
file.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
inode.c fs/adfs: inode: fix adfs_mode2atts() 2020-01-20 20:12:40 -05: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
map.c fs/adfs: map: fix map scanning 2020-01-20 20:12:40 -05:00
super.c fs/adfs: map: move map-specific sb initialisation to map.c 2020-01-20 20:12:40 -05:00