[PATCH] xfs: fix memory leak in xfs_dir2_node_removename
Mark Tinguely
tinguely at sgi.com
Fri Sep 27 12:48:42 CDT 2013
On 09/27/13 11:44, Eric Sandeen wrote:
> On 9/27/13 8:01 AM, Mark Tinguely wrote:
>> Free the memory pointed to by state before returning on error from
>> xfs_dir2_node_removename.c
>>
>> Signed-off-by: Mark Tinguely<tinguely at sgi.com>
>> ---
>> Found by Coverity (134681) in userspace, same patch applies there
>> also.
>
> Heh, looks like that one has been around since the dawn of time, thanks.
>
> Reviewed-by: Eric Sandeen<sandeen at redhat.com>
>
> how do we handle the matching userspace fixes, separate patch to
> be explicit? Wait for the next syncup?
>
> Thanks,
> -Eric
<patch delete>
Good question.
The user space should be kept up to date with the kernel.
Since the patches will be identical except the directory name, I was
hoping to submit one copy. But I am not trying to invent a policy, just
being lazy.
--Mark.
More information about the xfs
mailing list