linux-next: build failure after merge of the gfs2 tree

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

 



Hi all,

After merging the gfs2 tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from fs/gfs2/glock.c:39:
fs/gfs2/glock.c: In function 'may_grant':
fs/gfs2/glock.c:332:16: error: passing argument 2 of 'gfs2_dump_glock' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  332 |   GLOCK_BUG_ON(gl, !test_bit(HIF_HOLDER,
      |                ^~
fs/gfs2/glock.h:222:26: note: in definition of macro 'GLOCK_BUG_ON'
  222 |    gfs2_dump_glock(NULL, gl, true); \
      |                          ^~
fs/gfs2/glock.h:219:70: note: expected 'struct gfs2_glock *' but argument is of type 'const struct gfs2_glock *'
  219 | extern void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl,
      |                                                   ~~~~~~~~~~~~~~~~~~~^~
cc1: all warnings being treated as errors

Caused by commit

  9d0f1e82baf2 ("gfs2: Introduce flag for glock holder auto-demotion")

I have used the gfs2 tree from next-20211019 for today.

-- 
Cheers,
Stephen Rothwell

Attachment: pgpnG8plnsf56.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux