Re: [PATCH] Fix mountpoint reference leakage in linkat

From: Oleg Drokin
Date: Fri Jan 31 2014 - 16:50:47 EST


> Maybe something like this (untested) instead?

I think it's just safe to move the out label up along with the old_path freeing.

In all error cases the retry and delegation breaking logic could not be triggered
anyway.

Something like this (lightly tested):

Attachment: 0001-vfs-Fix-mountpoint-reference-leakage-in-linkat.patch
Description: Binary data