The patch titled r/o bind mounts: reiser4: remove IS_RDONLY() checks has been removed from the -mm tree. Its filename was r-o-bind-mounts-reiser4-remove-is_rdonly-checks.patch This patch was dropped because it had testing failures ------------------------------------------------------ Subject: r/o bind mounts: reiser4: remove IS_RDONLY() checks From: Dave Hansen <hansendc@xxxxxxxxxx> This removes all reiser4 users of IS_RDONLY() except for some assert()s, and reiser4_update_sd(). reiser4_update_sd()'s use appears pretty confined to places already covered by vfs calls which have already bumped the mnt writer count. Signed-off-by: Dave Hansen <haveblue@xxxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: Miklos Szeredi <miklos@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/reiser4/plugin/file/file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN fs/reiser4/plugin/file/file.c~r-o-bind-mounts-reiser4-remove-is_rdonly-checks fs/reiser4/plugin/file/file.c --- a/fs/reiser4/plugin/file/file.c~r-o-bind-mounts-reiser4-remove-is_rdonly-checks +++ a/fs/reiser4/plugin/file/file.c @@ -1815,7 +1815,8 @@ int mmap_unix_file(struct file *file, st down(&uf_info->write); get_exclusive_access(uf_info); - if (!IS_RDONLY(inode) && (vma->vm_flags & (VM_MAYWRITE | VM_SHARED))) { + if (!__mnt_is_readonly(file->f_vfsmnt) && + (vma->vm_flags & (VM_MAYWRITE | VM_SHARED))) { /* * we need file built of extent items. If it is still built of * tail items we have to convert it. Find what items the file _ Patches currently in -mm which might be from hansendc@xxxxxxxxxx are r-o-bind-mounts-reiser4-remove-is_rdonly-checks.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html