Re: [PATCH 18/49] bdi: make inode_to_bdi() inline

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

 



On Mon, Apr 20, 2015 at 05:40:50PM +0200, Jan Kara wrote:
> > This patch makes inode_to_bdi() and sb_is_blkdev_sb() that the
> > function calls inline.  blockdev_superblock and noop_backing_dev_info
> > are EXPORT_GPL'd to allow the inline functions to be used from
> > modules.
>   I somewhat hate making blockdev_superblock exported just for this. But
> OK.

Hopefully people won't get creative with it.

> > While at it, maske sb_is_blkdev_sb() return bool instead of int.
>                ^^^ make

Updated.

>   Otherwise the patch looks good. You can add:
> Reviewed-by: Jan Kara <jack@xxxxxxx>

Thanks.

-- 
tejun

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]