On Sun, 10 Oct 2010 16:28:29 +1100 ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote: > Please find attached a small patch to the three bs_*.c files used for > SBC and MMC devices. > The patch changes the *_open() function in such way that if the normal > open for O_RDWR fails with EACCES, > we try to open the file with O_RDONLY instead, and set the LUN to read-only. Applied, thanks. Doesn't look pretty. It's better if we can use the proper flag for the first open(). But it needs more changes. This patch is trivial so I merged it. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html