Remove a duplicated vfs_freeopts() that I introduced in last
revision.
This commit is contained in:
parent
b3ff7bedf7
commit
8ba975c439
@ -571,8 +571,7 @@ update:
|
||||
if (mp->mnt_opt != NULL)
|
||||
vfs_freeopts(mp->mnt_opt);
|
||||
mp->mnt_opt = mp->mnt_optnew;
|
||||
} else
|
||||
vfs_freeopts(mp->mnt_optnew);
|
||||
}
|
||||
/*
|
||||
* Prevent external consumers of mount
|
||||
* options to read mnt_optnew.
|
||||
|
@ -571,8 +571,7 @@ update:
|
||||
if (mp->mnt_opt != NULL)
|
||||
vfs_freeopts(mp->mnt_opt);
|
||||
mp->mnt_opt = mp->mnt_optnew;
|
||||
} else
|
||||
vfs_freeopts(mp->mnt_optnew);
|
||||
}
|
||||
/*
|
||||
* Prevent external consumers of mount
|
||||
* options to read mnt_optnew.
|
||||
|
Loading…
x
Reference in New Issue
Block a user