From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DFD9EC1433 for ; Tue, 3 Mar 2026 11:35:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F76C10E7CE; Tue, 3 Mar 2026 11:35:55 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.b="TNLv15d/"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="eV9smZ4Q"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="TNLv15d/"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="eV9smZ4Q"; dkim-atps=neutral Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA9A710E795 for ; Tue, 3 Mar 2026 11:27:08 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8E22B3F778; Tue, 3 Mar 2026 11:27:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1772537227; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PJNIfED44CDmRM9QKnZe3vjqDvjr0r1+sKr6g16PVBU=; b=TNLv15d/Q09vJ3yaa5rtyOZXJnqvcbR6rI/DEcqvgjcnvPlL2p7w7N/t4v6fp7iXBMckFn KI8390yLukozk4ihYQJERYEt3MZ2Xa8hOf2lyCyXhQaoR/0lyLYN1gFf6ZLwspZgvcblJf 8eN5vb5vdtk4do31HPWR1TQ0uj9qGIM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1772537227; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PJNIfED44CDmRM9QKnZe3vjqDvjr0r1+sKr6g16PVBU=; b=eV9smZ4QhVNrlGzngsZi2/ze2KStbs+OocyLFDwfN7mxjM/fsVAwO/OP45s9rzwE/ZjD34 N/ABwqmXs1JJtYAw== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1772537227; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PJNIfED44CDmRM9QKnZe3vjqDvjr0r1+sKr6g16PVBU=; b=TNLv15d/Q09vJ3yaa5rtyOZXJnqvcbR6rI/DEcqvgjcnvPlL2p7w7N/t4v6fp7iXBMckFn KI8390yLukozk4ihYQJERYEt3MZ2Xa8hOf2lyCyXhQaoR/0lyLYN1gFf6ZLwspZgvcblJf 8eN5vb5vdtk4do31HPWR1TQ0uj9qGIM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1772537227; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PJNIfED44CDmRM9QKnZe3vjqDvjr0r1+sKr6g16PVBU=; b=eV9smZ4QhVNrlGzngsZi2/ze2KStbs+OocyLFDwfN7mxjM/fsVAwO/OP45s9rzwE/ZjD34 N/ABwqmXs1JJtYAw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 764A53EA69; Tue, 3 Mar 2026 11:27:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id uIXZHIvFpmkQTQAAD6G6ig (envelope-from ); Tue, 03 Mar 2026 11:27:07 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 349A8A0A1B; Tue, 3 Mar 2026 12:27:07 +0100 (CET) Date: Tue, 3 Mar 2026 12:27:07 +0100 From: Jan Kara To: Jeff Layton Cc: Alexander Viro , Christian Brauner , Jan Kara , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Dan Williams , Matthew Wilcox , Eric Biggers , "Theodore Y. Ts'o" , Muchun Song , Oscar Salvador , David Hildenbrand , David Howells , Paulo Alcantara , Andreas Dilger , Jan Kara , Jaegeuk Kim , Chao Yu , Trond Myklebust , Anna Schumaker , Chuck Lever , NeilBrown , Olga Kornievskaia , Dai Ngo , Tom Talpey , Steve French , Ronnie Sahlberg , Shyam Prasad N , Bharath SM , Alexander Aring , Ryusuke Konishi , Viacheslav Dubeyko , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , Christian Schoenebeck , David Sterba , Marc Dionne , Ian Kent , Luis de Bethencourt , Salah Triki , "Tigran A. Aivazian" , Ilya Dryomov , Alex Markuze , Jan Harkes , coda@cs.cmu.edu, Nicolas Pitre , Tyler Hicks , Amir Goldstein , Christoph Hellwig , John Paul Adrian Glaubitz , Yangtao Li , Mikulas Patocka , David Woodhouse , Richard Weinberger , Dave Kleikamp , Konstantin Komarov , Mark Fasheh , Joel Becker , Joseph Qi , Mike Marshall , Martin Brandenburg , Miklos Szeredi , Anders Larsen , Zhihao Cheng , Damien Le Moal , Naohiro Aota , Johannes Thumshirn , John Johansen , Paul Moore , James Morris , "Serge E. Hallyn" , Mimi Zohar , Roberto Sassu , Dmitry Kasatkin , Eric Snowberg , Fan Wu , Stephen Smalley , Ondrej Mosnacek , Casey Schaufler , Alex Deucher , Christian =?utf-8?B?S8O2bmln?= , David Airlie , Simona Vetter , Sumit Semwal , Eric Dumazet , Kuniyuki Iwashima , Paolo Abeni , Willem de Bruijn , "David S. Miller" , Jakub Kicinski , Simon Horman , Oleg Nesterov , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , "Darrick J. Wong" , Martin Schiller , Eric Paris , Joerg Reuter , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Oliver Hartkopp , Marc Kleine-Budde , David Ahern , Neal Cardwell , Steffen Klassert , Herbert Xu , Remi Denis-Courmont , Marcelo Ricardo Leitner , Xin Long , Magnus Karlsson , Maciej Fijalkowski , Stanislav Fomichev , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, nvdimm@lists.linux.dev, fsverity@lists.linux.dev, linux-mm@kvack.org, netfs@lists.linux.dev, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-nilfs@vger.kernel.org, v9fs@lists.linux.dev, linux-afs@lists.infradead.org, autofs@vger.kernel.org, ceph-devel@vger.kernel.org, codalist@coda.cs.cmu.edu, ecryptfs@vger.kernel.org, linux-mtd@lists.infradead.org, jfs-discussion@lists.sourceforge.net, ntfs3@lists.linux.dev, ocfs2-devel@lists.linux.dev, devel@lists.orangefs.org, linux-unionfs@vger.kernel.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-integrity@vger.kernel.org, selinux@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, netdev@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-xfs@vger.kernel.org, linux-hams@vger.kernel.org, linux-x25@vger.kernel.org, audit@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-can@vger.kernel.org, linux-sctp@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH v2 046/110] udf: use PRIino format for i_ino Message-ID: References: <20260302-iino-u64-v2-0-e5388800dae0@kernel.org> <20260302-iino-u64-v2-46-e5388800dae0@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260302-iino-u64-v2-46-e5388800dae0@kernel.org> X-Spamd-Result: default: False [-0.30 / 50.00]; BAYES_HAM(-3.00)[100.00%]; FORGED_RECIPIENTS(2.00)[m:viro@zeniv.linux.org.uk, m:jack@suse.cz, m:rostedt@goodmis.org, m:mathieu.desnoyers@efficios.com, m:tytso@mit.edu, m:osalvador@suse.de, m:dhowells@redhat.com, m:pc@manguebit.org, m:adilger.kernel@dilger.ca, m:jack@suse.com, m:chuck.lever@oracle.com, m:neil@brown.name, m:okorniev@redhat.com, m:Dai.Ngo@oracle.com, m:tom@talpey.com, m:sfrench@samba.org, m:ronniesahlberg@gmail.com, m:sprasad@microsoft.com, m:bharathsm@microsoft.com, m:alex.aring@gmail.com, m:konishi.ryusuke@gmail.com, m:slava@dubeyko.com, m:asmadeus@codewreck.org, m:linux_oss@crudebyte.com, m:dsterba@suse.com, m:marc.dionne@auristor.com, m:raven@themaw.net, m:salah.triki@gmail.com, m:aivazian.tigran@gmail.com, m:idryomov@gmail.com, m:amarkuze@redhat.com, m:jaharkes@cs.cmu.edu, m:coda@cs.cmu.edu, m:nico@fluxnic.net, m:code@tyhicks.com, m:amir73il@gmail.com, m:glaubitz@physik.fu-berlin.de, m:frank.li@vivo.com, m:mikulas@artax.karlin.mff.cuni.cz, m:richard@nod.at, m:almaz.alexandrovich@paragon-software.com, m:mark@fasheh.com, m:jlbec@evil plan.org, m:hubcap@omnibond.com, m:martin@omnibond.com, m:miklos@szeredi.hu, m:al@alarsen.net, m:naohiro.aota@wdc.com, m:john.johansen@canonical.com, m:paul@paul-moore.com, m:jmorris@namei.org, m:serge@hallyn.com, m:dmitry.kasatkin@gmail.com, m:eric.snowberg@oracle.com, m:stephen.smalley.work@gmail.com, m:omosnace@redhat.com, m:casey@schaufler-ca.com, m:alexander.deucher@amd.com, m:christian.koenig@amd.com, m:airlied@gmail.com, m:simona@ffwll.ch, m:edumazet@google.com, m:kuniyu@google.com, m:pabeni@redhat.com, m:willemb@google.com, m:davem@davemloft.net, m:oleg@redhat.com, m:mingo@redhat.com, s:adrian.hunter@intel.com, s:maciej.fijalkowski@intel.com, s:magnus.karlsson@intel.com, s:daniel@iogearbox.net, s:ast@kernel.org, s:djwong@kernel.org, s:dsahern@kernel.org, s:hawk@kernel.org, s:jolsa@kernel.org, s:linux-mm@kvack.org, s:james.clark@linaro.org, s:alexander.shishkin@linux.intel.com, s:amd-gfx@lists.freedesktop.org, s:dri-devel@lists.freedesktop.org, s:linux-afs@lists.infradead.org, s:linux-mtd@lists.infradead.org, s:linar o-mm-sig@lists.linaro.org,s:fsverity@lists.linux.dev,s:netfs@lists.linux.dev,s:ntfs3@lists.linux.dev]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; RCVD_COUNT_THREE(0.00)[3]; FUZZY_RATELIMITED(0.00)[rspamd.com]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[zeniv.linux.org.uk, kernel.org, suse.cz, goodmis.org, efficios.com, intel.com, infradead.org, mit.edu, linux.dev, suse.de, redhat.com, manguebit.org, dilger.ca, suse.com, oracle.com, brown.name, talpey.com, samba.org, gmail.com, microsoft.com, dubeyko.com, ionkov.net, codewreck.org, crudebyte.com, auristor.com, themaw.net, cs.cmu.edu, fluxnic.net, tyhicks.com, physik.fu-berlin.de, vivo.com, artax.karlin.mff.cuni.cz, nod.at, paragon-software.com, fasheh.com, evilplan.org, linux.alibaba.com, omnibond.com, szeredi.hu, alarsen.net, huawei.com, wdc.com, canonical.com, paul-moore.com, namei.org, hallyn.com, linux.ibm.com, schaufler-ca.com, amd.com, ffwll.ch, linaro.org, google.com, davemloft.net, arm.com, linux.intel.com, dev.tdt.de, yaina.de, holtmann.org, hartkopp.net, pengutronix.de, secunet.com, gondor.apana.org.au, fomichev.me, iogearbox.net, vger.kernel.org, lists.linux.dev, kvack.org, lists.sourceforge.net, lists.samba.org, lists.infradead.org, coda.cs.cmu.edu, lists.orangefs.org, lists.ubuntu.com, lists.freedesktop.org, lists.linaro.or g]; R_RATELIMIT(0.00)[to_ip_from(RLzmnxm7msfpf7ixykpj9feesk)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_GT_50(0.00)[172]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[]; MISSING_XM_UA(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:email,suse.cz:email] X-Mailman-Approved-At: Tue, 03 Mar 2026 11:35:37 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon 02-03-26 15:24:30, Jeff Layton wrote: > Convert udf 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 Looks good. Feel free to add: Reviewed-by: Jan Kara Honza > --- > fs/udf/directory.c | 18 +++++++++--------- > fs/udf/file.c | 2 +- > fs/udf/inode.c | 12 ++++++------ > fs/udf/namei.c | 8 ++++---- > fs/udf/super.c | 2 +- > 5 files changed, 21 insertions(+), 21 deletions(-) > > diff --git a/fs/udf/directory.c b/fs/udf/directory.c > index 632453aa38934a0b58b420717ec0674c85627ce5..c825e11c017f652500a3dfc83905679ef86ec570 100644 > --- a/fs/udf/directory.c > +++ b/fs/udf/directory.c > @@ -22,7 +22,7 @@ static int udf_verify_fi(struct udf_fileident_iter *iter) > > if (iter->fi.descTag.tagIdent != cpu_to_le16(TAG_IDENT_FID)) { > udf_err(iter->dir->i_sb, > - "directory (ino %lu) has entry at pos %llu with incorrect tag %x\n", > + "directory (ino %" PRIino "u) has entry at pos %llu with incorrect tag %x\n", > iter->dir->i_ino, (unsigned long long)iter->pos, > le16_to_cpu(iter->fi.descTag.tagIdent)); > return -EFSCORRUPTED; > @@ -30,7 +30,7 @@ static int udf_verify_fi(struct udf_fileident_iter *iter) > len = udf_dir_entry_len(&iter->fi); > if (le16_to_cpu(iter->fi.lengthOfImpUse) & 3) { > udf_err(iter->dir->i_sb, > - "directory (ino %lu) has entry at pos %llu with unaligned length of impUse field\n", > + "directory (ino %" PRIino "u) has entry at pos %llu with unaligned length of impUse field\n", > iter->dir->i_ino, (unsigned long long)iter->pos); > return -EFSCORRUPTED; > } > @@ -41,20 +41,20 @@ static int udf_verify_fi(struct udf_fileident_iter *iter) > */ > if (len > 1 << iter->dir->i_blkbits) { > udf_err(iter->dir->i_sb, > - "directory (ino %lu) has too big (%u) entry at pos %llu\n", > + "directory (ino %" PRIino "u) has too big (%u) entry at pos %llu\n", > iter->dir->i_ino, len, (unsigned long long)iter->pos); > return -EFSCORRUPTED; > } > if (iter->pos + len > iter->dir->i_size) { > udf_err(iter->dir->i_sb, > - "directory (ino %lu) has entry past directory size at pos %llu\n", > + "directory (ino %" PRIino "u) has entry past directory size at pos %llu\n", > iter->dir->i_ino, (unsigned long long)iter->pos); > return -EFSCORRUPTED; > } > if (udf_dir_entry_len(&iter->fi) != > sizeof(struct tag) + le16_to_cpu(iter->fi.descTag.descCRCLength)) { > udf_err(iter->dir->i_sb, > - "directory (ino %lu) has entry where CRC length (%u) does not match entry length (%u)\n", > + "directory (ino %" PRIino "u) has entry where CRC length (%u) does not match entry length (%u)\n", > iter->dir->i_ino, > (unsigned)le16_to_cpu(iter->fi.descTag.descCRCLength), > (unsigned)(udf_dir_entry_len(&iter->fi) - > @@ -78,7 +78,7 @@ static int udf_copy_fi(struct udf_fileident_iter *iter) > } > if (iter->dir->i_size < iter->pos + sizeof(struct fileIdentDesc)) { > udf_err(iter->dir->i_sb, > - "directory (ino %lu) has entry straddling EOF\n", > + "directory (ino %" PRIino "u) has entry straddling EOF\n", > iter->dir->i_ino); > return -EFSCORRUPTED; > } > @@ -184,7 +184,7 @@ static int udf_fiiter_advance_blk(struct udf_fileident_iter *iter) > return 0; > } > udf_err(iter->dir->i_sb, > - "extent after position %llu not allocated in directory (ino %lu)\n", > + "extent after position %llu not allocated in directory (ino %" PRIino "u)\n", > (unsigned long long)iter->pos, iter->dir->i_ino); > return -EFSCORRUPTED; > } > @@ -272,7 +272,7 @@ int udf_fiiter_init(struct udf_fileident_iter *iter, struct inode *dir, > if (pos == dir->i_size) > return 0; > udf_err(dir->i_sb, > - "position %llu not allocated in directory (ino %lu)\n", > + "position %llu not allocated in directory (ino %" PRIino "u)\n", > (unsigned long long)pos, dir->i_ino); > err = -EFSCORRUPTED; > goto out; > @@ -483,7 +483,7 @@ int udf_fiiter_append_blk(struct udf_fileident_iter *iter) > &iter->loffset, &etype); > if (err <= 0 || etype != (EXT_RECORDED_ALLOCATED >> 30)) { > udf_err(iter->dir->i_sb, > - "block %llu not allocated in directory (ino %lu)\n", > + "block %llu not allocated in directory (ino %" PRIino "u)\n", > (unsigned long long)block, iter->dir->i_ino); > return -EFSCORRUPTED; > } > diff --git a/fs/udf/file.c b/fs/udf/file.c > index 32ae7cfd72c549958b70824b449cf146f6750f44..ab8093b87dc8f21ce8af6a72621e2868fb4b9a82 100644 > --- a/fs/udf/file.c > +++ b/fs/udf/file.c > @@ -133,7 +133,7 @@ long udf_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) > int result; > > if (file_permission(filp, MAY_READ) != 0) { > - udf_debug("no permission to access inode %lu\n", inode->i_ino); > + udf_debug("no permission to access inode %" PRIino "u\n", inode->i_ino); > return -EPERM; > } > > diff --git a/fs/udf/inode.c b/fs/udf/inode.c > index 7fae8002344a0e1e7e51022e97f1e0e2424185f9..ecc22aded0d287ccdfb34b42a0d82e392054f585 100644 > --- a/fs/udf/inode.c > +++ b/fs/udf/inode.c > @@ -147,7 +147,7 @@ void udf_evict_inode(struct inode *inode) > if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB && > inode->i_size != iinfo->i_lenExtents) { > udf_warn(inode->i_sb, > - "Inode %lu (mode %o) has inode size %llu different from extent length %llu. Filesystem need not be standards compliant.\n", > + "Inode %" PRIino "u (mode %o) has inode size %llu different from extent length %llu. Filesystem need not be standards compliant.\n", > inode->i_ino, inode->i_mode, > (unsigned long long)inode->i_size, > (unsigned long long)iinfo->i_lenExtents); > @@ -1386,13 +1386,13 @@ static int udf_read_inode(struct inode *inode, bool hidden_inode) > */ > bh = udf_read_ptagged(inode->i_sb, iloc, 0, &ident); > if (!bh) { > - udf_err(inode->i_sb, "(ino %lu) failed !bh\n", inode->i_ino); > + udf_err(inode->i_sb, "(ino %" PRIino "u) failed !bh\n", inode->i_ino); > return -EIO; > } > > if (ident != TAG_IDENT_FE && ident != TAG_IDENT_EFE && > ident != TAG_IDENT_USE) { > - udf_err(inode->i_sb, "(ino %lu) failed ident=%u\n", > + udf_err(inode->i_sb, "(ino %" PRIino "u) failed ident=%u\n", > inode->i_ino, ident); > goto out; > } > @@ -1641,7 +1641,7 @@ static int udf_read_inode(struct inode *inode, bool hidden_inode) > udf_debug("METADATA BITMAP FILE-----\n"); > break; > default: > - udf_err(inode->i_sb, "(ino %lu) failed unknown file type=%u\n", > + udf_err(inode->i_sb, "(ino %" PRIino "u) failed unknown file type=%u\n", > inode->i_ino, fe->icbTag.fileType); > goto out; > } > @@ -1942,7 +1942,7 @@ static int udf_update_inode(struct inode *inode, int do_sync) > if (do_sync) { > sync_dirty_buffer(bh); > if (buffer_write_io_error(bh)) { > - udf_warn(inode->i_sb, "IO error syncing udf inode [%08lx]\n", > + udf_warn(inode->i_sb, "IO error syncing udf inode [%08" PRIino "x]\n", > inode->i_ino); > err = -EIO; > } > @@ -2224,7 +2224,7 @@ int udf_next_aext(struct inode *inode, struct extent_position *epos, > > if (++indirections > UDF_MAX_INDIR_EXTS) { > udf_err(inode->i_sb, > - "too many indirect extents in inode %lu\n", > + "too many indirect extents in inode %" PRIino "u\n", > inode->i_ino); > return -EFSCORRUPTED; > } > diff --git a/fs/udf/namei.c b/fs/udf/namei.c > index 5f2e9a892bffa9579143cedf71d80efa7ad6e9fb..32209549a31f451a486918e673a41497bef42e89 100644 > --- a/fs/udf/namei.c > +++ b/fs/udf/namei.c > @@ -550,7 +550,7 @@ static int udf_unlink(struct inode *dir, struct dentry *dentry) > goto end_unlink; > > if (!inode->i_nlink) { > - udf_debug("Deleting nonexistent file (%lu), %u\n", > + udf_debug("Deleting nonexistent file (%" PRIino "u), %u\n", > inode->i_ino, inode->i_nlink); > set_nlink(inode, 1); > } > @@ -809,7 +809,7 @@ static int udf_rename(struct mnt_idmap *idmap, struct inode *old_dir, > &diriter); > if (retval == -ENOENT) { > udf_err(old_inode->i_sb, > - "directory (ino %lu) has no '..' entry\n", > + "directory (ino %" PRIino "u) has no '..' entry\n", > old_inode->i_ino); > retval = -EFSCORRUPTED; > } > @@ -821,7 +821,7 @@ static int udf_rename(struct mnt_idmap *idmap, struct inode *old_dir, > old_dir->i_ino) { > retval = -EFSCORRUPTED; > udf_err(old_inode->i_sb, > - "directory (ino %lu) has parent entry pointing to another inode (%lu != %u)\n", > + "directory (ino %" PRIino "u) has parent entry pointing to another inode (%" PRIino "u != %u)\n", > old_inode->i_ino, old_dir->i_ino, > udf_get_lb_pblock(old_inode->i_sb, &tloc, 0)); > goto out_oiter; > @@ -869,7 +869,7 @@ static int udf_rename(struct mnt_idmap *idmap, struct inode *old_dir, > retval = udf_fiiter_find_entry(old_dir, &old_dentry->d_name, &oiter); > if (retval) { > udf_err(old_dir->i_sb, > - "failed to find renamed entry again in directory (ino %lu)\n", > + "failed to find renamed entry again in directory (ino %" PRIino "u)\n", > old_dir->i_ino); > } else { > udf_fiiter_delete_entry(&oiter); > diff --git a/fs/udf/super.c b/fs/udf/super.c > index 27f463fd1d89e8ae4844cd70c291d737aee1589e..c6e372d573885742745d3ff4b3b017facf228a32 100644 > --- a/fs/udf/super.c > +++ b/fs/udf/super.c > @@ -1166,7 +1166,7 @@ static int udf_fill_partdesc_info(struct super_block *sb, > } > map->s_uspace.s_table = inode; > map->s_partition_flags |= UDF_PART_FLAG_UNALLOC_TABLE; > - udf_debug("unallocSpaceTable (part %d) @ %lu\n", > + udf_debug("unallocSpaceTable (part %d) @ %" PRIino "u\n", > p_index, map->s_uspace.s_table->i_ino); > } > > > -- > 2.53.0 > -- Jan Kara SUSE Labs, CR