diff options
author | Liu Hui <onlyflyer@gmail.com> | 2008-11-18 11:30:10 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-11-18 11:30:10 -0500 |
commit | b4eec2ca1167bae46295aeb66abd15fd52387845 (patch) | |
tree | bad79258bb437341611116d951f7a8711c4473a0 /kernel/time.c | |
parent | ea9e8b11bd1252dcbc23afefcf1a52ec6aa3c113 (diff) |
Btrfs: Some fixes for batching extent insert.
In insert_extents(), when ret==1 and last is not zero, it should
check if the current inserted item is the last item in this batching
inserts. If so, it should just break from loop. If not, 'cur =
insert_list->next' will make no sense because the list is empty now,
and 'op' will point to an unexpectable place.
There are also some trivial fixs in this patch including one comment
typo error and deleting two redundant lines.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'kernel/time.c')
0 files changed, 0 insertions, 0 deletions