From: Al Viro Date: Tue, 16 Oct 2012 17:30:07 +0000 (-0400) Subject: fix a leak in replace_fd() users X-Git-Tag: v3.7-rc2~40^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45525b26a46cd593cb72070304c4cd7c8391bd37;p=pandora-kernel.git fix a leak in replace_fd() users replace_fd() began with "eats a reference, tries to insert into descriptor table" semantics; at some point I'd switched it to much saner current behaviour ("try to insert into descriptor table, grabbing a new reference if inserted; caller should do fput() in any case"), but forgot to update the callers. Mea culpa... [Spotted by Pavel Roskin, who has really weird system with pipe-fed coredumps as part of what he considers a normal boot ;-)] Signed-off-by: Al Viro --- Reading git-diff-tree failed