Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c
- index 4133bc461e3e..b12506fb0a2d 100644
- --- a/fs/xfs/libxfs/xfs_bmap.c
- +++ b/fs/xfs/libxfs/xfs_bmap.c
- @@ -6087,6 +6087,8 @@ __xfs_bmap_add(
- bmap->br_state);
- bi = kmem_alloc(sizeof(struct xfs_bmap_intent), KM_SLEEP | KM_NOFS);
- + memset32((uint32_t *)bi, 0xabcddcba, sizeof(struct xfs_bmap_intent)/4);
- + printk(KERN_INFO "__xfs_bmap_add filling allocation \n");
- INIT_LIST_HEAD(&bi->bi_list);
- bi->bi_type = type;
- bi->bi_owner = ip;
- diff --git a/fs/xfs/scrub/bitmap.c b/fs/xfs/scrub/bitmap.c
- index fdadc9e1dc49..7c9f396893b2 100644
- --- a/fs/xfs/scrub/bitmap.c
- +++ b/fs/xfs/scrub/bitmap.c
- @@ -192,6 +192,9 @@ xfs_bitmap_disunion(
- error = -ENOMEM;
- goto out;
- }
- + memset(new_br, 0x5a, sizeof(struct xfs_bitmap_range));
- + printk(KERN_INFO "xfs_bitmap_disunion filling allocation \n");
- +
- INIT_LIST_HEAD(&new_br->list);
- new_br->start = sub_start + sub_len;
- new_br->len = br->start + br->len - new_br->start;
- diff --git a/fs/xfs/xfs_attr_inactive.c b/fs/xfs/xfs_attr_inactive.c
- index 228821b2ebe0..bcdfff7801f9 100644
- --- a/fs/xfs/xfs_attr_inactive.c
- +++ b/fs/xfs/xfs_attr_inactive.c
- @@ -153,6 +153,8 @@ xfs_attr3_leaf_inactive(
- */
- size = count * sizeof(xfs_attr_inactive_list_t);
- list = kmem_alloc(size, KM_SLEEP);
- + memset32((uint32_t *)list, 0xdeadbeef, size/4);
- + printk(KERN_INFO "xfs_attr3_leaf_inactive filling list \n");
- /*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement