i have to set my device (NOR flash) to be RW or RO. i found ioctl BLKROSET which doing (should do) this. MTD ioctl call comes down to mtd_blkdevs.c to blktrans_ioctl(), where i believe should be case for it. It was this way in code for kernel 2.4 and now? am i missing something or just to send patch for it?