projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f5a6ca
)
[XFS] Fix uninitialized br_state and br_startoff in
author
Lachlan McIlroy
<
[email protected]
>
Tue, 21 Nov 2006 07:55:16 +0000
(18:55 +1100)
committer
Tim Shimmin
<
[email protected]
>
Tue, 21 Nov 2006 07:55:16 +0000
(18:55 +1100)
xfs_bmap_add_extent_delay_real()
SGI-PV: 957008
SGI-Modid: xfs-linux-melb:xfs-kern:27457a
Signed-off-by: Lachlan McIlroy <
[email protected]
>
Signed-off-by: Shailendra Tripathi <
[email protected]
>
Signed-off-by: Tim Shimmin <
[email protected]
>
fs/xfs/xfs_bmap.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_bmap.c
b/fs/xfs/xfs_bmap.c
index 5b050c06795fbbf3abd51b0f6c77a24daccc33f4..498ad50d1f452807eba88e042f55341ea4498c3d 100644
(file)
--- a/
fs/xfs/xfs_bmap.c
+++ b/
fs/xfs/xfs_bmap.c
@@
-1171,6
+1171,8
@@
xfs_bmap_add_extent_delay_real(
xfs_bmap_trace_pre_update(fname, "0", ip, idx, XFS_DATA_FORK);
xfs_bmbt_set_blockcount(ep, temp);
r[0] = *new;
+ r[1].br_state = PREV.br_state;
+ r[1].br_startblock = 0;
r[1].br_startoff = new_endoff;
temp2 = PREV.br_startoff + PREV.br_blockcount - new_endoff;
r[1].br_blockcount = temp2;