[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <HK2PR04MB38918AE14149045AE90A6400811A9@HK2PR04MB3891.apcprd04.prod.outlook.com>
Date: Fri, 25 Mar 2022 07:22:54 +0000
From: "Yuezhang.Mo@...y.com" <Yuezhang.Mo@...y.com>
To: Christoph Hellwig <hch@...radead.org>
CC: Namjae Jeon <linkinjeon@...nel.org>,
"sj1557.seo@...sung.com" <sj1557.seo@...sung.com>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Andy.Wu@...y.com" <Andy.Wu@...y.com>,
"Wataru.Aoyama@...y.com" <Wataru.Aoyama@...y.com>
Subject: RE: [PATCH] exfat: reduce block requests when zeroing a cluster
Hi Christoph Hellwig,
Thank you for your comment.
> On Fri, Mar 25, 2022 at 03:00:55AM +0000, Yuezhang.Mo@...y.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
Powered by blists - more mailing lists