Commit 6d6a1681 authored by Seth Forshee's avatar Seth Forshee Committed by Tim Gardner

UBUNTU: SAUCE: fuse: Don't initialize user_id or group_id in mount options

BugLink: http://bugs.launchpad.net/bugs/1566505

These are required mount options, thus there is no need to
initialize the values in struct fuse_mount_data.
Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 6e42b32e
......@@ -478,8 +478,6 @@ static int parse_fuse_opt(char *opt, struct fuse_mount_data *d, int is_bdev,
memset(d, 0, sizeof(struct fuse_mount_data));
d->max_read = ~0;
d->blksize = FUSE_DEFAULT_BLKSIZE;
d->user_id = make_kuid(user_ns, 0);
d->group_id = make_kgid(user_ns, 0);
while ((p = strsep(&opt, ",")) != NULL) {
int token;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment