[PATCH v2 038/110] nsfs: use PRIino format for i_ino
Jeff Layton via Linux-f2fs-devel <[email protected]> Mon, 02 Mar 2026 15:24:22 -0500
| Newsgroups | gmane.linux.file-systems.f2fs,gmane.comp.video.dri.devel,gmane.linux.file-systems.union,gmane.linux.kernel.mm,gmane.linux.drivers.mtd,gmane.linux.kernel.cifs,gmane.comp.file-systems.nilfs.user,gmane.linux.x25,gmane.linux.bluez.kernel,gmane.comp.freedesktop.amd-gfx,gmane.comp.file-systems.coda.general,gmane.comp.file-systems.ext4,gmane.linux.kernel.bpf,gmane.comp.file-systems.ecryptfs.general,gmane.linux.kernel.autofs,gmane.comp.security.apparmor,gmane.linux.drivers.video-input-infrastructure,gmane.linux.can,gmane.linux.hams,gmane.comp.file-systems.ceph.devel,gmane.linux.nfs,gmane.linux.network,gmane.network.samba.internals,gmane.linux.kernel,gmane.linux.kernel.perf.user,gmane.linux.kernel.lsm,gmane.linux.file-systems |
|---|---|
| Message-ID | <[email protected]> |
Convert nsfs i_ino format strings to use the PRIino format macro in preparation for the widening of i_ino via kino_t. Signed-off-by: Jeff Layton <[email protected]> --- fs/nsfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nsfs.c b/fs/nsfs.c index db91de2086456bb9fe0547be7dbbd2de87c97ca7..0e099ee2121f8831645c3a25d759793ef2ff9ce6 100644 --- a/fs/nsfs.c +++ b/fs/nsfs.c @@ -46,7 +46,7 @@ static char *ns_dname(struct dentry *dentry, char *buffer, int buflen) struct ns_common *ns = inode->i_private; const struct proc_ns_operations *ns_ops = ns->ops; - return dynamic_dname(buffer, buflen, "%s:[%lu]", + return dynamic_dname(buffer, buflen, "%s:[%" PRIino "u]", ns_ops->name, inode->i_ino); } @@ -394,7 +394,7 @@ static int nsfs_show_path(struct seq_file *seq, struct dentry *dentry) const struct ns_common *ns = inode->i_private; const struct proc_ns_operations *ns_ops = ns->ops; - seq_printf(seq, "%s:[%lu]", ns_ops->name, inode->i_ino); + seq_printf(seq, "%s:[%" PRIino "u]", ns_ops->name, inode->i_ino); return 0; } -- 2.53.0