[PATCH v4 0/1] vfs: Respect MS_RDONLY at bind mount creation

2014-11-05 Thread Richard Yao
Dear Linus, I am the ZFSOnLinux developer that ran into you on his way to the airport at LinuxCon Europe last month. This is the VFS patch that you volunteered to help me get properly reviewed. My plan was to send it the week after LinuxCon Europe (last week) as you had asked. However, that was de

[PATCH v4 0/1] vfs: Respect MS_RDONLY at bind mount creation

2014-10-27 Thread Richard Yao
Dear Linus, Here is the patch that we discussed at LinuxCon Europe. My plan was to send it the week after LinuxCon Europe (last week) as you had asked. However, I caught somethng at the conference and was sick last week, so that was delayed. The history of the patch is that the v1 was done in Jul

[PATCH v4 0/1] vfs: Respect MS_RDONLY at bind mount creation

2014-09-29 Thread Richard Yao
This revision implements a suggestion from Mateusz Guzik to do `mnt->mnt.mnt_flags |= MNT_READONLY`. As he pointed out, there are no writers against which to synchronize, so we can adjust the flag directly. This becomes obvious when we see that set_mnt_shared() sets the MNT_SHARED flag directly. R