Patch "kernfs: fix regression in kernfs_fop_write caused by wrong type" has been added to the 4.9-stable tree