alloc_file(): simplify handling of mnt_clone_write() errors
authorRoland Dreier <rdreier@cisco.com>
Wed, 16 Dec 2009 20:48:44 +0000 (12:48 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 Dec 2009 17:27:33 +0000 (12:27 -0500)
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 <rolandd@cisco.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found