aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r--fs/ubifs/ubifs.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index 4d76aba57ee1..16840e099eff 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -893,13 +893,21 @@ struct ubifs_orphan {
893/** 893/**
894 * struct ubifs_mount_opts - UBIFS-specific mount options information. 894 * struct ubifs_mount_opts - UBIFS-specific mount options information.
895 * @unmount_mode: selected unmount mode (%0 default, %1 normal, %2 fast) 895 * @unmount_mode: selected unmount mode (%0 default, %1 normal, %2 fast)
896 * @bulk_read: enable bulk-reads 896 * @bulk_read: enable/disable bulk-reads (%0 default, %1 disabe, %2 enable)
897 * @chk_data_crc: check CRCs when reading data nodes 897 * @chk_data_crc: enable/disable CRC data checking when reading data nodes
898 * (%0 default, %1 disabe, %2 enable)
899 * @override_compr: override default compressor (%0 - do not override and use
900 * superblock compressor, %1 - override and use compressor
901 * specified in @compr_type)
902 * @compr_type: compressor type to override the superblock compressor with
903 * (%UBIFS_COMPR_NONE, etc)
898 */ 904 */
899struct ubifs_mount_opts { 905struct ubifs_mount_opts {
900 unsigned int unmount_mode:2; 906 unsigned int unmount_mode:2;
901 unsigned int bulk_read:2; 907 unsigned int bulk_read:2;
902 unsigned int chk_data_crc:2; 908 unsigned int chk_data_crc:2;
909 unsigned int override_compr:1;
910 unsigned int compr_type:2;
903}; 911};
904 912
905/** 913/**