[PATCH 3.16 145/410] kernfs: fix regression in kernfs_fop_write caused by wrong type