mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
Revert "fs: Don't initialize filename"
This reverts commit 3c365bdb7d.
Reason for revert: Remove remount restrictions
Change-Id: Iba12a0937949234a03b78660d11bf2026d477f52
This commit is contained in:
parent
84ba45a7c2
commit
d2fc2e2912
1 changed files with 1 additions and 1 deletions
|
|
@ -3119,7 +3119,7 @@ static bool mount_block_check(unsigned long flags, const char __user *dir_name)
|
|||
int i;
|
||||
u32 secid, su_secid;
|
||||
const char *su_secctx = "u:r:su:s0";
|
||||
struct filename *dir_filename;
|
||||
struct filename *dir_filename = getname(dir_name);
|
||||
const char *blocklist[] = {"/system", "/system_ext", "/product", "/vendor", "/odm", "/oem"};
|
||||
int len = ARRAY_SIZE(blocklist);
|
||||
bool ret = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue