Re: [PATCH 5/5] ext4: write support for preallocated blocks/extents
From: Amit K. Arora <hidden>
Date: 2007-05-07 13:04:25
Also in:
linux-fsdevel, linux-xfs, lkml
From: Amit K. Arora <hidden>
Date: 2007-05-07 13:04:25
Also in:
linux-fsdevel, linux-xfs, lkml
On Mon, May 07, 2007 at 03:40:26PM +0300, Pekka Enberg wrote:
On 4/26/07, Amit K. Arora [off-list ref] wrote:quoted
/* + * 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.
Ok, Thanks. -- Regards, Amit Arora