commit | f352064275adfeb6f88cb0fb25cc623750adf89f | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Mon Dec 09 11:11:18 2019 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Jan 20 20:12:42 2020 -0500 |
tree | c8bce73ed0fd23ca40ddbe54cbc1486527f370e0 | |
parent | a464152f2e6dfd6d8be45c5e591cb8be20a97bdb [diff] |
fs/adfs: super: fix inode dropping When we have write support enabled, we must not drop inodes before they have been written back, otherwise we lose updates to the filesystem on umount. Keep the inodes around unless we are built in read-only mode, or we are mounted read-only. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>