summaryrefslogtreecommitdiffstats
path: root/fs/udf/udf_sb.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-09-06 17:52:28 +0200
committerJan Kara <jack@suse.cz>2018-09-07 10:32:22 +0200
commit694538b5d753666c81938ca6628188e1c432d377 (patch)
tree2fdcd152769c1f2ab6b19ae0ddaf5dc41d7b6573 /fs/udf/udf_sb.h
parentb085fbe2ef7fa7489903c45271ae7b7a52b0f9ab (diff)
downloadlinux-694538b5d753666c81938ca6628188e1c432d377.tar.gz
linux-694538b5d753666c81938ca6628188e1c432d377.tar.bz2
linux-694538b5d753666c81938ca6628188e1c432d377.zip
udf: Drop freed bitmap / table support
We don't support Free Space Table and Free Space Bitmap as specified by UDF standard for writing as we don't support erasing blocks before overwriting them. Just drop the handling of these structures as partition descriptor checking code already makes sure such filesystems can be mounted only read-only. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udf_sb.h')
-rw-r--r--fs/udf/udf_sb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h
index d12e507e9eb2..937c209474cd 100644
--- a/fs/udf/udf_sb.h
+++ b/fs/udf/udf_sb.h
@@ -35,8 +35,6 @@
#define UDF_PART_FLAG_UNALLOC_BITMAP 0x0001
#define UDF_PART_FLAG_UNALLOC_TABLE 0x0002
-#define UDF_PART_FLAG_FREED_BITMAP 0x0004
-#define UDF_PART_FLAG_FREED_TABLE 0x0008
#define UDF_PART_FLAG_READ_ONLY 0x0010
#define UDF_PART_FLAG_WRITE_ONCE 0x0020
#define UDF_PART_FLAG_REWRITABLE 0x0040
@@ -95,10 +93,6 @@ struct udf_part_map {
struct udf_bitmap *s_bitmap;
struct inode *s_table;
} s_uspace;
- union {
- struct udf_bitmap *s_bitmap;
- struct inode *s_table;
- } s_fspace;
__u32 s_partition_root;
__u32 s_partition_len;
__u16 s_partition_type;