All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v2 6/6] super: add filesystem freezing helpers for suspend and hibernate
@ 2025-03-30  6:03 kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2025-03-30  6:03 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20250329-work-freeze-v2-6-a47af37ecc3d@kernel.org>
References: <20250329-work-freeze-v2-6-a47af37ecc3d@kernel.org>
TO: Christian Brauner <brauner@kernel.org>

Hi Christian,

kernel test robot noticed the following build warnings:

[auto build test WARNING on acb4f33713b9f6cadb6143f211714c343465411c]

url:    https://github.com/intel-lab-lkp/linux/commits/Christian-Brauner/super-remove-pointless-s_root-checks/20250329-164716
base:   acb4f33713b9f6cadb6143f211714c343465411c
patch link:    https://lore.kernel.org/r/20250329-work-freeze-v2-6-a47af37ecc3d%40kernel.org
patch subject: [PATCH v2 6/6] super: add filesystem freezing helpers for suspend and hibernate
:::::: branch date: 21 hours ago
:::::: commit date: 21 hours ago
config: x86_64-randconfig-161-20250330 (https://download.01.org/0day-ci/archive/20250330/202503301305.wiPCA3TP-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202503301305.wiPCA3TP-lkp@intel.com/

smatch warnings:
fs/super.c:1187 get_active_super() error: uninitialized symbol 'active'.

vim +/active +1187 fs/super.c

08fdc8a0138afa Mateusz Guzik     2017-10-03  1178  
1bd87d01c81377 Christian Brauner 2025-03-29  1179  static inline bool get_active_super(struct super_block *sb)
1bd87d01c81377 Christian Brauner 2025-03-29  1180  {
1bd87d01c81377 Christian Brauner 2025-03-29  1181  	bool active;
1bd87d01c81377 Christian Brauner 2025-03-29  1182  
1bd87d01c81377 Christian Brauner 2025-03-29  1183  	if (super_lock_excl(sb)) {
1bd87d01c81377 Christian Brauner 2025-03-29  1184  		active = atomic_inc_not_zero(&sb->s_active);
1bd87d01c81377 Christian Brauner 2025-03-29  1185  		super_unlock_excl(sb);
1bd87d01c81377 Christian Brauner 2025-03-29  1186  	}
1bd87d01c81377 Christian Brauner 2025-03-29 @1187  	return active;
1bd87d01c81377 Christian Brauner 2025-03-29  1188  }
1bd87d01c81377 Christian Brauner 2025-03-29  1189  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v2 0/6] Extend freeze support to suspend and hibernate
@ 2025-03-29  8:42 Christian Brauner
  2025-03-29  8:42 ` [PATCH v2 6/6] super: add filesystem freezing helpers for " Christian Brauner
  0 siblings, 1 reply; 6+ messages in thread
From: Christian Brauner @ 2025-03-29  8:42 UTC (permalink / raw)
  To: linux-fsdevel, jack
  Cc: Christian Brauner, linux-kernel, James Bottomley, mcgrof, hch,
	david, rafael, djwong, pavel, peterz, mingo, will, boqun.feng

Add the necessary infrastructure changes to support freezing for suspend
and hibernate.

Just got back from LSFMM. So still jetlagged and likelihood of bugs
increased. This should all that's needed to wire up power.

This will be in vfs-6.16.super shortly.

---
Changes in v2:
- Don't grab reference in the iterator make that a requirement for the
  callers that need custom behavior.
- Link to v1: https://lore.kernel.org/r/20250328-work-freeze-v1-0-a2c3a6b0e7a6@kernel.org

---
Christian Brauner (6):
      super: remove pointless s_root checks
      super: simplify user_get_super()
      super: skip dying superblocks early
      super: use a common iterator (Part 1)
      super: use common iterator (Part 2)
      super: add filesystem freezing helpers for suspend and hibernate

 fs/super.c         | 201 ++++++++++++++++++++++++++++++++---------------------
 include/linux/fs.h |   4 +-
 2 files changed, 126 insertions(+), 79 deletions(-)
---
base-commit: acb4f33713b9f6cadb6143f211714c343465411c
change-id: 20250328-work-freeze-0a446869cd62


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-03-31 10:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-30  6:03 [PATCH v2 6/6] super: add filesystem freezing helpers for suspend and hibernate kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2025-03-29  8:42 [PATCH v2 0/6] Extend freeze support to " Christian Brauner
2025-03-29  8:42 ` [PATCH v2 6/6] super: add filesystem freezing helpers for " Christian Brauner
2025-03-29  8:46   ` Christian Brauner
2025-03-29 11:30   ` kernel test robot
2025-03-31 10:23   ` Jan Kara
2025-03-31 10:25     ` Christian Brauner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.