[PATCH kernel-4.19 184/418] mtd: require write permissions for locking and badblock ioctls