From: Peter Seiderer Date: Tue, 24 Mar 2015 17:30:48 +0000 (-0300) Subject: [media] coda: fix double call to debugfs_remove X-Git-Tag: omap-for-v4.2/o2_dc~62^2~1^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d446ec8e122c210a9260f103cbf8da5a56de9c82;p=pandora-kernel.git [media] coda: fix double call to debugfs_remove In coda_free_aux_buf() call debugfs_remove only if buffer entry is valid (and therfore dentry is valid), double protect by invalidating dentry value. Fixes erroneous prematurely dealloc of debugfs caused by incorrect reference count incrementing. Signed-off-by: Peter Seiderer Signed-off-by: Philipp Zabel Signed-off-by: Kamil Debski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed