On Mon 02-03-26 15:24:35, Jeff Layton wrote: > Convert fsnotify 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]>
Looks good. Feel free to add: Reviewed-by: Jan Kara <[email protected]> Honza > --- > fs/notify/fdinfo.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/notify/fdinfo.c b/fs/notify/fdinfo.c > index > 9cc7eb863643774b83da8b6228c38db16d0dbed1..586eaa7f65a4a61b892fb9c39e6a0d81e025b790 > 100644 > --- a/fs/notify/fdinfo.c > +++ b/fs/notify/fdinfo.c > @@ -84,7 +84,7 @@ static void inotify_fdinfo(struct seq_file *m, struct > fsnotify_mark *mark) > inode_mark = container_of(mark, struct inotify_inode_mark, fsn_mark); > inode = igrab(fsnotify_conn_inode(mark->connector)); > if (inode) { > - seq_printf(m, "inotify wd:%x ino:%lx sdev:%x mask:%x > ignored_mask:0 ", > + seq_printf(m, "inotify wd:%x ino:%" PRIino "x sdev:%x mask:%x > ignored_mask:0 ", > inode_mark->wd, inode->i_ino, inode->i_sb->s_dev, > inotify_mark_user_mask(mark)); > show_mark_fhandle(m, inode); > @@ -111,7 +111,7 @@ static void fanotify_fdinfo(struct seq_file *m, struct > fsnotify_mark *mark) > inode = igrab(fsnotify_conn_inode(mark->connector)); > if (!inode) > return; > - seq_printf(m, "fanotify ino:%lx sdev:%x mflags:%x mask:%x > ignored_mask:%x ", > + seq_printf(m, "fanotify ino:%" PRIino "x sdev:%x mflags:%x > mask:%x ignored_mask:%x ", > inode->i_ino, inode->i_sb->s_dev, > mflags, mark->mask, mark->ignore_mask); > show_mark_fhandle(m, inode); > > -- > 2.53.0 > -- Jan Kara <[email protected]> SUSE Labs, CR
