RE: [PATCH] exfat: reduce block requests when zeroing a cluster

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

 



Hi Christoph Hellwig,

Thank you for your comment.

> On Fri, Mar 25, 2022 at 03:00:55AM +0000, Yuezhang.Mo@xxxxxxxx wrote:
> > +#include <linux/blk_types.h>
> 
> blk_types.h is not a header for public use.  What do you want it for?

+	struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping;

The type of 'sb->s_bdev' is 'struct block_device'.
I want to include the definition of 'struct block_device'('struct block_device' is defined in <linux/blk_types.h>).

Should I change to include <linux/blkdev.h>?

Best Regards,
Yuezhang Mo




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux