ovl: fix creds leak in copy up error path
authorAmir Goldstein <amir73il@gmail.com>
Tue, 16 May 2017 05:45:46 +0000 (08:45 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 18 May 2017 14:11:24 +0000 (16:11 +0200)
commit8137ae26d25303e7b5cfb418fd28b976461e5b6e
treee15b1c29eddff213d3b056cb6d274806d6609705
parent72d42504bd7faa6de1c1644b5e46652933e040a6
ovl: fix creds leak in copy up error path

Fixes: 42f269b92540 ("ovl: rearrange code in ovl_copy_up_locked()")
Cc: <stable@vger.kernel.org> # v4.11
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/copy_up.c