[PATCH 22/27] r-o-bind-mounts-nfs-check-mnt-instead-of-superblock-directly

2007-11-01 Thread Dave Hansen
If we depend on the inodes for writeability, we will not catch the r/o mounts when implemented. This patches uses __mnt_want_write(). It does not guarantee that the mount will stay writeable after the check. But, this is OK for one of the checks because it is just for a printk(). The other

[PATCH 22/27] r-o-bind-mounts-nfs-check-mnt-instead-of-superblock-directly

2007-11-01 Thread Dave Hansen
If we depend on the inodes for writeability, we will not catch the r/o mounts when implemented. This patches uses __mnt_want_write(). It does not guarantee that the mount will stay writeable after the check. But, this is OK for one of the checks because it is just for a printk(). The other