Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: lustre: fix return type of lo_release.
The return type of block_device_operations.release() changed to void in commit db2a144. 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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information