Commit 0b56306e56784d0513e1193d58c05a6bd97bd1a9

Authored by Adrian Bunk
Committed by Linus Torvalds
1 parent 6da487dcc0

[PATCH] drivers/md/kcopyd.c: #if 0 kcopyd_cancel()

This patch #if 0's the not yet implemented global function kcopyd_cancel().

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

... ... @@ -561,11 +561,13 @@
561 561 * Cancels a kcopyd job, eg. someone might be deactivating a
562 562 * mirror.
563 563 */
  564 +#if 0
564 565 int kcopyd_cancel(struct kcopyd_job *job, int block)
565 566 {
566 567 /* FIXME: finish */
567 568 return -1;
568 569 }
  570 +#endif /* 0 */
569 571  
570 572 /*-----------------------------------------------------------------
571 573 * Unit setup
... ... @@ -684,5 +686,4 @@
684 686 EXPORT_SYMBOL(kcopyd_client_create);
685 687 EXPORT_SYMBOL(kcopyd_client_destroy);
686 688 EXPORT_SYMBOL(kcopyd_copy);
687   -EXPORT_SYMBOL(kcopyd_cancel);