On Tue, Apr 28, 2020 at 01:08:31PM +0530, Ritesh Harjani wrote: > @@ -71,6 +72,13 @@ static int ioctl_fibmap(struct file *filp, int __user *p) > block = ur_block; > error = bmap(inode, &block); > > + if (block > INT_MAX) { > + error = -ERANGE; > + pr_warn_ratelimited("[%s/%d] FS (%s): would truncate fibmap result\n", > + current->comm, task_pid_nr(current), > + sb->s_id); Why is it useful to print the pid? And why print the superblock when we could print the filename instead? We have a struct file, so we can printk("%pD4", filp) to print the last four components of the pathname.