lkml.org 
[lkml]   [2022]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] exfat: reduce block requests when zeroing a cluster
Date
Hi Christoph Hellwig,

Thank you for your comment.

> On Fri, Mar 25, 2022 at 03:00:55AM +0000, Yuezhang.Mo@sony.com 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
\
 
 \ /
  Last update: 2022-03-25 08:23    [W:0.069 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site