Re: [PATCH 57/61] fscrypt: update format strings for u64 i_ino
Eric Biggers via Linux-f2fs-devel <[email protected]> Thu, 26 Feb 2026 09:10:36 -0800
| Newsgroups | gmane.linux.file-systems.f2fs,gmane.comp.video.dri.devel,gmane.linux.hams,gmane.comp.file-systems.ceph.devel,gmane.linux.kernel,gmane.linux.kernel.perf.user,gmane.linux.drivers.video-input-infrastructure,gmane.linux.kernel.cifs,gmane.comp.file-systems.nilfs.user,gmane.comp.file-systems.coda.general,gmane.linux.drivers.mtd,gmane.comp.freedesktop.amd-gfx,gmane.linux.kernel.autofs,gmane.linux.nfs,gmane.comp.file-systems.ext4,gmane.linux.kernel.mm,gmane.network.samba.internals,gmane.linux.file-systems,gmane.comp.file-systems.ecryptfs.general,gmane.linux.file-systems.union,gmane.linux.x25,gmane.comp.security.apparmor,gmane.linux.network,gmane.linux.kernel.lsm |
|---|---|
| Message-ID | <20260226171036.GB2251@sol> |
On Thu, Feb 26, 2026 at 10:55:59AM -0500, Jeff Layton wrote: > Update format strings from %lu to %llu for inode->i_ino now that > i_ino is u64 instead of unsigned long. > > Signed-off-by: Jeff Layton <[email protected]> > --- > fs/crypto/crypto.c | 2 +- > fs/crypto/hooks.c | 2 +- > fs/crypto/keysetup.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) check_for_busy_inodes() needs to be updated too. It copies i_ino to a local variable of type 'unsigned long', then prints it with %lu. Seems that there needs to be a search for other code that copies i_ino to a local variable, as this issue is unlikely to be unique to here. - Eric