summaryrefslogtreecommitdiff
path: root/fs/udf/udf_i.h
diff options
context:
space:
mode:
authorSteve Nickel <snickel58@gmail.com>2012-02-14 09:28:42 +0400
committerJan Kara <jack@suse.cz>2012-03-01 00:53:46 +0400
commitd5e2cf07c388dbd06579ab39672e1bd8b9754e65 (patch)
tree107cce0364e823e2c6073eb9576e9c6bbf11e4cb /fs/udf/udf_i.h
parentac1334bfdae33be17ae6ae641bbbd1e6a2f04005 (diff)
downloadlinux-d5e2cf07c388dbd06579ab39672e1bd8b9754e65.tar.xz
udf: Init/maintain file entry checkpoint field
In accordance with ECMA 1.67 Part 4, 14.9.15, the checkpoint field should be initialized to 1 at creation. (Zero is *not* a valid value.) Signed-off-by: Steven P. Nickel <snickel@focusinfo.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udf_i.h')
-rw-r--r--fs/udf/udf_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/udf/udf_i.h b/fs/udf/udf_i.h
index d1bd31ea724e..bb8309dcd5c1 100644
--- a/fs/udf/udf_i.h
+++ b/fs/udf/udf_i.h
@@ -23,6 +23,7 @@ struct udf_inode_info {
__u64 i_lenExtents;
__u32 i_next_alloc_block;
__u32 i_next_alloc_goal;
+ __u32 i_checkpoint;
unsigned i_alloc_type : 3;
unsigned i_efe : 1; /* extendedFileEntry */
unsigned i_use : 1; /* unallocSpaceEntry */