[PATCH 4.4 089/190] mtd: require write permissions for locking and badblock ioctls