diff options
| author | ngkaho1234 <ngkaho1234@gmail.com> | 2016-05-12 13:59:44 +0000 |
|---|---|---|
| committer | Kaho Ng <ngkaho1234@gmail.com> | 2016-05-13 21:20:03 +0800 |
| commit | 5cdc17dc795e0a21486c97b5a34c8dff4bd60444 (patch) | |
| tree | 2a7a07c1eadddc66e4a0d5db35bb5276f20c8168 /src/ext4_fs.c | |
| parent | 8eff9f9971a1056ade031e646acb9b07a972fd65 (diff) | |
Refine extra_isize field handling
Diffstat (limited to 'src/ext4_fs.c')
| -rw-r--r-- | src/ext4_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext4_fs.c b/src/ext4_fs.c index db3a2ca..e8a2777 100644 --- a/src/ext4_fs.c +++ b/src/ext4_fs.c @@ -899,7 +899,7 @@ int ext4_fs_alloc_inode(struct ext4_fs *fs, struct ext4_inode_ref *inode_ref, if (inode_size > EXT4_GOOD_OLD_INODE_SIZE) { uint16_t off = offsetof(struct ext4_inode, extra_isize); uint16_t size = sizeof(struct ext4_inode) - off; - ext4_inode_set_extra_isize(inode, size); + ext4_inode_set_extra_isize(&fs->sb, inode, size); } /* Reset blocks array. For symbolic link inode, just |
