Re: [QUESTION] Getting block bitmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 18, 2017, at 10:43 AM, Sayan Ghosh <sgdgp.2014@xxxxxxxxx> wrote:
> 
> Hello,
> 
>     bh = ext4_read_block_bitmap(sb,block_group);
> 
> This function return the buffer head for the block/page with the block bitmap
> 
>     char *block_bmap = bh->b_data;
> 
> Doing this does not give the block bitmap string
> 
> What is the process to get the block bitmap in string or array form?

What do you mean "block bitmap string"?

It probably makes sense for you to look at how bh->b_data is being used in
the places where ext4_read_block_bitmap() is being called.

Cheers, Andreas





Attachment: signature.asc
Description: Message signed with OpenPGP


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux