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
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| data_mgmt.c | ||
| data_mgmt.h | ||
| format.c | ||
| format.h | ||
| integrity.c | ||
| integrity.h | ||
| internal.h | ||
| main.c | ||
| pseudo_files.c | ||
| pseudo_files.h | ||
| sysfs.c | ||
| sysfs.h | ||
| verity.c | ||
| verity.h | ||
| vfs.c | ||
| vfs.h | ||