From: Roland Dreier Date: Wed, 16 Dec 2009 20:48:44 +0000 (-0800) Subject: alloc_file(): simplify handling of mnt_clone_write() errors X-Git-Tag: v2.6.33-rc2~23^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=385e3ed4f0b81dd0b0b214050a30d352a71b95f7;p=pandora-kernel.git alloc_file(): simplify handling of mnt_clone_write() errors When alloc_file() and init_file() were combined, the error handling of mnt_clone_write() was taken into alloc_file() in a somewhat obfuscated way. Since we don't use the error code for anything except warning, we might as well warn directly without an extra variable. Signed-off-by: Roland Dreier Signed-off-by: Al Viro --- Reading git-diff-tree failed