Skip to content

gfs2: silence sparse

Andreas Gruenbacher gfs2 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6gfs2: Avoid ip->i_gl dereferences in gfs2_inode_lookup and gfs2_create_inodefs/gfs2/inode.c+19 -160 replies
2/6gfs2: Get to super block from inode in tracepointsfs/gfs2/trace_gfs2.h+3 -30 replies
3/6gfs2: Add inode variablesfs/gfs2/bmap.c fs/gfs2/dir.c fs/gfs2/file.c +2 more+43 -330 replies
4/6gfs2: Introduce gfs2_inode_glockfs/gfs2/acl.c fs/gfs2/aops.c fs/gfs2/bmap.c +17 more+307 -2450 replies
5/6gfs2: annotate i_gl with __rcufs/gfs2/incore.h fs/gfs2/inode.c+6 -60 replies
6/6gfs2: Silence sparse signedness warningfs/gfs2/bmap.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] gfs2: silence sparse

Hello,

this patch queue is based on a patch from Adrian Garcia Casado [*] and fixes the current sparse errors and warnings. Please review.

I have put those patches onto the for-later branch for now [**]; my plan is to move them to for-next once the 7.3 merge window closes.

Thanks,
Andreas

[*] https://lore.kernel.org/gfs2/[email protected]/
[**] https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/log/?h=for-later

Andreas Gruenbacher (6):
gfs2: Avoid ip->i_gl dereferences in gfs2_inode_lookup and
gfs2_create_inode
gfs2: Get to super block from inode in tracepoints
gfs2: Add inode variables
gfs2: Introduce gfs2_inode_glock
gfs2: annotate i_gl with __rcu
gfs2: Silence sparse signedness warning

 fs/gfs2/acl.c        |  11 ++--
 fs/gfs2/aops.c       |  17 +++---
 fs/gfs2/bmap.c       |  89 +++++++++++++++++--------------
 fs/gfs2/dentry.c     |   6 +--
 fs/gfs2/dir.c        |  61 ++++++++++++++--------
 fs/gfs2/export.c     |   7 +--
 fs/gfs2/file.c       |  72 ++++++++++++++-----------
 fs/gfs2/glock.c      |   4 +-
 fs/gfs2/glops.c      |   3 +-
 fs/gfs2/incore.h     |   7 ++-
 fs/gfs2/inode.c      | 122 ++++++++++++++++++++++++-------------------
 fs/gfs2/lops.c       |  18 +++----
 fs/gfs2/meta_io.c    |   7 +--
 fs/gfs2/ops_fstype.c |  25 +++++----
 fs/gfs2/quota.c      |  48 +++++++++--------
 fs/gfs2/recovery.c   |  17 +++---
 fs/gfs2/rgrp.c       |   4 +-
 fs/gfs2/super.c      |  70 +++++++++++++------------
 fs/gfs2/trace_gfs2.h |   6 +--
 fs/gfs2/util.c       |   8 +--
 fs/gfs2/xattr.c      |  69 ++++++++++++++----------
 21 files changed, 373 insertions(+), 298 deletions(-)
Signature · 1 line
2.55.0