[PATCH 4.15 104/202] kernfs: fix regression in kernfs_fop_write caused by wrong type