Re: [PATCH 5/5] ext4: write support for preallocated blocks/extents
From: Pekka Enberg <hidden>
Date: 2007-05-07 12:40:27
Also in:
linux-fsdevel, linux-xfs, lkml
From: Pekka Enberg <hidden>
Date: 2007-05-07 12:40:27
Also in:
linux-fsdevel, linux-xfs, lkml
On 4/26/07, Amit K. Arora [off-list ref] wrote:
/*
+ * ext4_ext_try_to_merge:
+ * tries to merge the "ex" extent to the next extent in the tree.
+ * It always tries to merge towards right. If you want to merge towards
+ * left, pass "ex - 1" as argument instead of "ex".
+ * Returns 0 if the extents (ex and ex+1) were _not_ merged and returns
+ * 1 if they got merged.
+ */
+int ext4_ext_try_to_merge(struct inode *inode,
+ struct ext4_ext_path *path,
+ struct ext4_extent *ex)
+{Please either use proper kerneldoc format or drop "ext4_ext_try_to_merge" from the comment.