staging: lustre: fix return type of lo_release.
authorCyril Roelandt <tipecaml@gmail.com>
Thu, 16 May 2013 16:06:20 +0000 (18:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 22:42:28 +0000 (15:42 -0700)
commitf1e2f53e73c44121a5e2c3a4c9a645d7def3a843
tree1c6629a7255956c9a1ac5d59c005fc542bbadb01
parent93961cda85a182817471d4fa8f61d1bced425a13
staging: lustre: fix return type of lo_release.

The return type of block_device_operations.release() changed to void in commit
db2a144b.

Found with the following Coccinelle patch:
<smpl>
@has_release_func@
identifier i;
identifier release_func;
@@
struct block_device_operations i = {
 .release = release_func
};

@depends on has_release_func@
identifier has_release_func.release_func;
@@
- int
+ void
release_func(...) {
...
- return ...;
}
</smpl>

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/lloop.c