diff options
author | Amir Goldstein <[email protected]> | 2017-07-11 15:58:35 +0300 |
---|---|---|
committer | Miklos Szeredi <[email protected]> | 2017-07-13 22:06:45 +0200 |
commit | 8fc646b44385ff0a9853f6590497e43049eeb311 (patch) | |
tree | 80b44e698a2fc19de2ba6d59c0fb9fcdd5b416c5 /lib/mpi/mpi-internal.h | |
parent | f4439de118283159ff165e52036134a278ebf990 (diff) |
ovl: fix random return value on mount
On failure to prepare_creds(), mount fails with a random
return value, as err was last set to an integer cast of
a valid lower mnt pointer or set to 0 if inodes index feature
is enabled.
Reported-by: Dan Carpenter <[email protected]>
Fixes: 3fe6e52f0626 ("ovl: override creds with the ones from ...")
Cc: <[email protected]> # v4.7
Signed-off-by: Amir Goldstein <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions