On Thu, Mar 02, 2017 at 11:01:05AM -0500, Olga Kornievskaia wrote: > + if (pos_in >= i_size_read(inode_in)) > + return -EINVAL; That's not how the syscall is supposed to work, we'd rather do a short read^^^^^copy. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html