nbd: trivial cleanups
authorPavel Machek <pavel@suse.cz>
Thu, 2 Apr 2009 23:58:42 +0000 (16:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:05:02 +0000 (19:05 -0700)
commit15746fcaa3a00753bbab2326088b85b10c1ba36a
treea61e2e83fc3eaefc62f2e45d1b95125a8180c7ab
parent1a2ad21128bb4eb79f3c05e5801edcc5ed3ef1d3
nbd: trivial cleanups

Trivial cleanups for nbd: only the return -EIO one really changes code,
and I've verified all the callers (plus 0 == success, 1 == error
convention is really ugly).

Signed-off-by: Pavel Machek <pavel@suse.cz>
Acked-by: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/nbd.c