projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] dm: prevent removal if open
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
md
/
dm.h
diff --git
a/drivers/md/dm.h
b/drivers/md/dm.h
index 71ddd1e230076a6c18853ba6cf32cdfe06adaf74..9ebb24b037bcd665438964a45fb2e2921b807942 100644
(file)
--- a/
drivers/md/dm.h
+++ b/
drivers/md/dm.h
@@
-123,5
+123,7
@@
void dm_stripe_exit(void);
void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
union map_info *dm_get_mapinfo(struct bio *bio);
+int dm_open_count(struct mapped_device *md);
+int dm_lock_for_deletion(struct mapped_device *md);
#endif