From: Namhyung Kim Date: Wed, 11 Jun 2014 08:06:54 +0000 (+0900) Subject: ftrace: Do not copy hash if O_TRUNC is set X-Git-Tag: omap-for-v3.17/fixes-against-rc2~186^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2fbe16ac176c21e3b3013c169e6fdb71ec56c7;p=pandora-kernel.git ftrace: Do not copy hash if O_TRUNC is set When a filter file is open for writing and O_TRUNC is set, there's no need to copy and free the filter entries. Link: http://lkml.kernel.org/p/1402474014-28655-2-git-send-email-namhyung@kernel.org Signed-off-by: Namhyung Kim Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed