diff options
| author | Roland Dreier <[email protected]> | 2009-12-16 20:48:44 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2009-12-22 17:27:33 +0000 |
| commit | 385e3ed4f0b81dd0b0b214050a30d352a71b95f7 (patch) | |
| tree | e52388a091a36f29a6a0c1c442914cdc51eee1cc /lib/debugobjects.c | |
| parent | Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
| download | kernel-385e3ed4f0b81dd0b0b214050a30d352a71b95f7.tar.gz kernel-385e3ed4f0b81dd0b0b214050a30d352a71b95f7.zip | |
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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
