commit | 385e3ed4f0b81dd0b0b214050a30d352a71b95f7 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rdreier@cisco.com> | Wed Dec 16 12:48:44 2009 -0800 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Dec 22 12:27:33 2009 -0500 |
tree | e52388a091a36f29a6a0c1c442914cdc51eee1cc | |
parent | f7b84a6ba7eaeba4e1df8feddca1473a7db369a5 [diff] |
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 <rolandd@cisco.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>