Hi all,
After merging the btrfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
fs/btrfs/volumes.c: In function 'btrfs_scratch_superblocks':
fs/btrfs/volumes.c:7338:3: warning: ignoring return value of 'write_one_page', declared with attribute warn_unused_result [-Wunused-result]
7338 | write_one_page(page);
| ^~~~~~~~~~~~~~~~~~~~
Introduced by commit
d19ec014a46b ("btrfs: use the page-cache for super block reading")
--
Cheers,
Stephen Rothwell
On Wed, Feb 12, 2020 at 09:10:28AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the btrfs tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> fs/btrfs/volumes.c: In function 'btrfs_scratch_superblocks':
> fs/btrfs/volumes.c:7338:3: warning: ignoring return value of 'write_one_page', declared with attribute warn_unused_result [-Wunused-result]
> 7338 | write_one_page(page);
> | ^~~~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> d19ec014a46b ("btrfs: use the page-cache for super block reading")
Known and fix is in the patchset revision that will be in the next
for-next branch update. Thanks.
Hi David,
On Wed, 12 Feb 2020 17:03:41 +0100 David Sterba <[email protected]> wrote:
>
> On Wed, Feb 12, 2020 at 09:10:28AM +1100, Stephen Rothwell wrote:
> >
> > After merging the btrfs tree, today's linux-next build (powerpc
> > ppc64_defconfig) produced this warning:
> >
> > fs/btrfs/volumes.c: In function 'btrfs_scratch_superblocks':
> > fs/btrfs/volumes.c:7338:3: warning: ignoring return value of 'write_one_page', declared with attribute warn_unused_result [-Wunused-result]
> > 7338 | write_one_page(page);
> > | ^~~~~~~~~~~~~~~~~~~~
> >
> > Introduced by commit
> >
> > d19ec014a46b ("btrfs: use the page-cache for super block reading")
>
> Known and fix is in the patchset revision that will be in the next
> for-next branch update. Thanks.
I am still getting that warning.
--
Cheers,
Stephen Rothwell