OrangePi_CM5/fs/incfs
Tadeusz Struk 6f915dd2af ANDROID: incremental-fs: remove index and incomplete dir on umount
Cleanup incremental-fs left overs on umount, otherwise incr-fs will
complain as below:

BUG: Dentry {i=47a,n=.incomplete} still in use [unmount of incremental-fs]

This requires vfs_rmdir() of the special index and incomplete dirs.
Also free options.sysfs_name in incfs_mount_fs() instead of in
incfs_free_mount_info() to make it consistent with incfs_remount_fs().

Since set_anon_super() was used in incfs_mount_fs() the incfs_kill_sb()
should use kill_anon_super() instead of generic_shutdown_super()
otherwise it will leak the pseudo dev_t that set_anon_super() allocates.

Bug: 211066171

Signed-off-by: Tadeusz Struk <tadeusz.struk@linaro.org>
Change-Id: I7ea54db63513fc130e1997cbf79121015ee12405
2022-02-14 18:36:59 +00:00
..
Kconfig
…
Makefile ANDROID: Incremental fs: Add status to sysfs 2021-04-23 15:16:25 +00:00
data_mgmt.c ANDROID: incremental-fs: remove index and incomplete dir on umount 2022-02-14 18:36:59 +00:00
data_mgmt.h ANDROID: Incremental fs: Add uid to INCFS_IOC_GET_LAST_READ_ERROR 2021-05-17 20:08:43 +00:00
format.c ANDROID: Incremental fs: fix minor printk format warning 2021-04-15 15:22:01 +00:00
format.h
…
integrity.c
…
integrity.h
…
internal.h
…
main.c ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
pseudo_files.c ANDROID: incremental-fs: fix GPF in pending_reads_dispatch_ioctl 2022-01-26 11:31:08 +00:00
pseudo_files.h
…
sysfs.c ANDROID: Incremental fs: Make sysfs_name changeable on remount 2021-05-17 20:08:37 +00:00
sysfs.h ANDROID: Incremental fs: Make sysfs_name changeable on remount 2021-05-17 20:08:37 +00:00
verity.c ANDROID: Incremental fs: Add status to sysfs 2021-04-23 15:16:25 +00:00
verity.h ANDROID: Incremental fs: Add FS_IOC_READ_VERITY_METADATA 2021-04-23 15:16:03 +00:00
vfs.c ANDROID: incremental-fs: remove index and incomplete dir on umount 2022-02-14 18:36:59 +00:00
vfs.h ANDROID: incremental-fs: fix mount_fs issue 2022-01-24 21:39:27 +00:00