ext4: free orphan info with kvfree
commit 971843c5 upstream. Orphan info is now getting allocated with kvmalloc_array(). Free it with kvfree() instead of kfree() to avoid complaints from mm. Reported-by:Chris Mason <clm@meta.com> Fixes: 0a6ce20c ("ext4: verify orphan file size is not too big") Cc: stable@vger.kernel.org Signed-off-by:
Jan Kara <jack@suse.cz> Message-ID: <20251007134936.7291-2-jack@suse.cz> Signed-off-by:
Theodore Ts'o <tytso@mit.edu> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading