summaryrefslogtreecommitdiff
path: root/include/linux/badblocks.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-01-06 23:19:22 +0300
committerDan Williams <dan.j.williams@intel.com>2016-01-09 19:39:04 +0300
commitd3b407fb3f782bd915db64e266010ea30a2d381e (patch)
tree2f6b62c418f28892adcdd6a52a2b874b64e34fa7 /include/linux/badblocks.h
parentad9a8bde2cb19f6876f964fc48acc8b6a2f325ff (diff)
downloadlinux-d3b407fb3f782bd915db64e266010ea30a2d381e.tar.xz
badblocks: rename badblocks_free to badblocks_exit
For symmetry with badblocks_init() make it clear that this path only destroys incremental allocations of a badblocks instance, and does not free the badblocks instance itself. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/badblocks.h')
-rw-r--r--include/linux/badblocks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/badblocks.h b/include/linux/badblocks.h
index 929344630b51..2d98c026c57f 100644
--- a/include/linux/badblocks.h
+++ b/include/linux/badblocks.h
@@ -48,6 +48,6 @@ ssize_t badblocks_show(struct badblocks *bb, char *page, int unack);
ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len,
int unack);
int badblocks_init(struct badblocks *bb, int enable);
-void badblocks_free(struct badblocks *bb);
+void badblocks_exit(struct badblocks *bb);
#endif