[PATCH 4.9 27/88] kernfs: fix regression in kernfs_fop_write caused by wrong type