Re: [PATCH] nilfs: avoid warning about unused variables

2016-06-15 Thread Ryusuke Konishi
On Wed, 15 Jun 2016 22:19:41 +0200, Arnd Bergmann wrote: > The newly added nilfs_msg() infrastructure caused a warning in > nilfs_clear_dirty_page() when it is disabled: > > fs/nilfs2/page.c: In function 'nilfs_clear_dirty_page': > fs/nilfs2/page.c:402:22: error: unused variable 'sb' [-Werror=unu

[PATCH] nilfs: avoid warning about unused variables

2016-06-15 Thread Arnd Bergmann
The newly added nilfs_msg() infrastructure caused a warning in nilfs_clear_dirty_page() when it is disabled: fs/nilfs2/page.c: In function 'nilfs_clear_dirty_page': fs/nilfs2/page.c:402:22: error: unused variable 'sb' [-Werror=unused-variable] struct super_block *sb = inode->i_sb; We can avoid