ANDROID: overlayfs: override_creds=off option bypass creator_cred (part deux)
Missed a spot.
Fixes a regression in commit 272fcd1ca7
("ANDROID: overlayfs: override_creds=off option bypass creator_cred")
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
(cherry picked from https://lore.kernel.org/patchwork/patch/1009299)
Bug: 109821005
Bug: 112955896
Bug: 127298877
Change-Id: I234e57cd2c087b186c53a52867418c6a1a28bc35
This commit is contained in:
parent
9bcddfac1e
commit
f444fce183
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ static loff_t ovl_llseek(struct file *file, loff_t offset, int whence)
|
|||
|
||||
old_cred = ovl_override_creds(inode->i_sb);
|
||||
ret = vfs_llseek(real.file, offset, whence);
|
||||
revert_creds(old_cred);
|
||||
ovl_revert_creds(old_cred);
|
||||
|
||||
file->f_pos = real.file->f_pos;
|
||||
inode_unlock(inode);
|
||||
|
|
Loading…
Reference in a new issue