Files
linux/fs/overlayfs
Amir Goldstein 98cc417e0b ovl: fix random return value on mount
commit 8fc646b443 upstream.

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 <dan.carpenter@oracle.com>
Fixes: 3fe6e52f06 ("ovl: override creds with the ones from ...")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-27 15:10:16 -07:00
..
2017-07-27 15:10:16 -07:00
2017-05-15 10:53:07 +02:00
2016-12-16 11:02:56 +01:00
2016-09-01 11:11:59 +02:00
2017-07-27 15:10:16 -07:00