git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm crypt: always disable discard_zeroes_data
[pandora-kernel.git]
/
include
/
linux
/
device-mapper.h
diff --git
a/include/linux/device-mapper.h
b/include/linux/device-mapper.h
index
3fa1f3d
..
99e3e50
100644
(file)
--- a/
include/linux/device-mapper.h
+++ b/
include/linux/device-mapper.h
@@
-197,6
+197,11
@@
struct dm_target {
* whether or not its underlying devices have support.
*/
unsigned discards_supported:1;
* whether or not its underlying devices have support.
*/
unsigned discards_supported:1;
+
+ /*
+ * Set if this target does not return zeroes on discarded blocks.
+ */
+ unsigned discard_zeroes_data_unsupported:1;
};
/* Each target can link one of these into the table */
};
/* Each target can link one of these into the table */