Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4a9cdec7
Commit
4a9cdec7
authored
Jun 29, 2010
by
Theodore Ts'o
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext4: Add new superblock fields reserved for the Next3 snapshot feature
Signed-off-by:
"Theodore Ts'o"
<
tytso@mit.edu
>
parent
c6ac12a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
fs/ext4/ext4.h
fs/ext4/ext4.h
+7
-1
No files found.
fs/ext4/ext4.h
View file @
4a9cdec7
...
@@ -1002,7 +1002,13 @@ struct ext4_super_block {
...
@@ -1002,7 +1002,13 @@ struct ext4_super_block {
__u8
s_reserved_char_pad2
;
__u8
s_reserved_char_pad2
;
__le16
s_reserved_pad
;
__le16
s_reserved_pad
;
__le64
s_kbytes_written
;
/* nr of lifetime kilobytes written */
__le64
s_kbytes_written
;
/* nr of lifetime kilobytes written */
__u32
s_reserved
[
160
];
/* Padding to the end of the block */
__le32
s_snapshot_inum
;
/* Inode number of active snapshot */
__le32
s_snapshot_id
;
/* sequential ID of active snapshot */
__le64
s_snapshot_r_blocks_count
;
/* reserved blocks for active
snapshot's future use */
__le32
s_snapshot_list
;
/* inode number of the head of the
on-disk snapshot list */
__u32
s_reserved
[
155
];
/* Padding to the end of the block */
};
};
#ifdef __KERNEL__
#ifdef __KERNEL__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment