diff options
author | Steve Nickel <snickel58@gmail.com> | 2012-02-14 06:28:42 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2012-02-29 21:53:46 +0100 |
commit | d5e2cf07c388dbd06579ab39672e1bd8b9754e65 (patch) | |
tree | 107cce0364e823e2c6073eb9576e9c6bbf11e4cb /fs/udf/udf_i.h | |
parent | ext3: Update ctime in ext3_splice_branch() only when needed (diff) | |
download | linux-d5e2cf07c388dbd06579ab39672e1bd8b9754e65.tar.xz linux-d5e2cf07c388dbd06579ab39672e1bd8b9754e65.zip |
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.h | 1 |
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 */ |