Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions samsung/SM-A155F/fix_namespace.c.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -33,13 +33,27 @@
@@ -33,13 +33,26 @@
#include <linux/fslog.h>
#ifdef CONFIG_KDP_NS
#include <linux/kdp.h>
Expand All @@ -15,9 +15,8 @@

+#ifdef CONFIG_KSU_SUSFS_SUS_MOUNT
+extern bool susfs_is_current_ksu_domain(void);
+extern bool susfs_is_boot_completed_triggered __read_mostly;
+extern bool susfs_is_sdcard_android_data_decrypted __read_mostly;
+
+static DEFINE_IDA(susfs_ksu_mnt_group_ida);
+static atomic64_t susfs_ksu_mounts = ATOMIC64_INIT(0);
+
+#define CL_COPY_MNT_NS BIT(25) /* used by copy_mnt_ns() */
Expand All @@ -28,7 +27,7 @@

/* @fs.sec -- c4d165e8cb5ea1cc14cdedb9eab23efd642d4d5f -- */
static unsigned int sys_umount_trace_status;
@@ -3917,10 +3931,13 @@
@@ -3903,10 +3916,13 @@
namespace_lock();
/* First pass: copy the tree topology */
copy_flags = CL_COPY_UNBINDABLE | CL_EXPIRE;
Expand Down