summaryrefslogtreecommitdiff
path: root/fs/sdcardfs/main.c
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2018-01-18 16:17:16 -0800
committerDaniel Rosenberg <drosen@google.com>2018-01-19 23:07:11 +0000
commit3fc4284df70b6a79a7d8e2c69c55a62a1c37c8a2 (patch)
treefc9a643db8527b8a043aafd1283dc035ca1c5633 /fs/sdcardfs/main.c
parentd96d95dd1d8bf37426911169c242d3699b6f3245 (diff)
ANDROID: sdcardfs: Move default_normal to superblock
Moving default_normal from mount info to superblock info as it doesn't need to change between mount points. Signed-off-by: Daniel Rosenberg <drosen@google.com> Bug: 72158116 Change-Id: I16c6a0577c601b4f7566269f7e189fcf697afd4e
Diffstat (limited to 'fs/sdcardfs/main.c')
-rw-r--r--fs/sdcardfs/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sdcardfs/main.c b/fs/sdcardfs/main.c
index d5239b21cb8a..ac27bb301c5e 100644
--- a/fs/sdcardfs/main.c
+++ b/fs/sdcardfs/main.c
@@ -70,7 +70,7 @@ static int parse_options(struct super_block *sb, char *options, int silent,
opts->reserved_mb = 0;
/* by default, gid derivation is off */
opts->gid_derivation = false;
- vfsopts->default_normal = false;
+ opts->default_normal = false;
*debug = 0;
@@ -126,7 +126,7 @@ static int parse_options(struct super_block *sb, char *options, int silent,
opts->gid_derivation = true;
break;
case Opt_default_normal:
- vfsopts->default_normal = true;
+ opts->default_normal = true;
break;
/* unknown option */
default: