summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4_extents.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2013-04-19 14:04:12 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-04-19 14:04:12 -0400
commit2656497b26d45c1ca51a7727ab92c8307cb99305 (patch)
tree3ca5df6ee834234d577d16409964ea283d4cb8b9 /fs/ext4/ext4_extents.h
parenteb9cc7e16b32c898a1d715733c590f115aa0a099 (diff)
downloadlinux-stable-2656497b26d45c1ca51a7727ab92c8307cb99305.tar.gz
linux-stable-2656497b26d45c1ca51a7727ab92c8307cb99305.tar.bz2
linux-stable-2656497b26d45c1ca51a7727ab92c8307cb99305.zip
ext4: mext_insert_extents should update extent block checksum
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_extents.h')
-rw-r--r--fs/ext4/ext4_extents.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ext4/ext4_extents.h b/fs/ext4/ext4_extents.h
index 8643ff5bbeb7..51bc821ade90 100644
--- a/fs/ext4/ext4_extents.h
+++ b/fs/ext4/ext4_extents.h
@@ -270,5 +270,10 @@ static inline void ext4_idx_store_pblock(struct ext4_extent_idx *ix,
0xffff);
}
+#define ext4_ext_dirty(handle, inode, path) \
+ __ext4_ext_dirty(__func__, __LINE__, (handle), (inode), (path))
+int __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle,
+ struct inode *inode, struct ext4_ext_path *path);
+
#endif /* _EXT4_EXTENTS */