The patch titled r/o bind mounts: elevate mnt writers for vfs_unlink() callers has been removed from the -mm tree. Its filename is ro-bind-mounts-elevate-mnt-writers-for-vfs_unlink-callers.patch This patch was dropped because Viro's comments sounded rather serious ------------------------------------------------------ Subject: r/o bind mounts: elevate mnt writers for vfs_unlink() callers From: Dave Hansen <haveblue@xxxxxxxxxx> Signed-off-by: Dave Hansen <haveblue@xxxxxxxxxx> Cc: Serge Hallyn <serue@xxxxxxxxxx> Cc: Herbert Poetzl <herbert@xxxxxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/namei.c | 4 ++++ ipc/mqueue.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff -puN fs/namei.c~ro-bind-mounts-elevate-mnt-writers-for-vfs_unlink-callers fs/namei.c --- a/fs/namei.c~ro-bind-mounts-elevate-mnt-writers-for-vfs_unlink-callers +++ a/fs/namei.c @@ -2158,7 +2158,11 @@ static long do_unlinkat(int dfd, const c inode = dentry->d_inode; if (inode) atomic_inc(&inode->i_count); + error = mnt_want_write(nd.mnt); + if (error) + goto exit2; error = vfs_unlink(nd.dentry->d_inode, dentry); + mnt_drop_write(nd.mnt); exit2: dput(dentry); } diff -puN ipc/mqueue.c~ro-bind-mounts-elevate-mnt-writers-for-vfs_unlink-callers ipc/mqueue.c --- a/ipc/mqueue.c~ro-bind-mounts-elevate-mnt-writers-for-vfs_unlink-callers +++ a/ipc/mqueue.c @@ -748,8 +748,11 @@ asmlinkage long sys_mq_unlink(const char inode = dentry->d_inode; if (inode) atomic_inc(&inode->i_count); - + err = mnt_want_write(mqueue_mnt); + if (err) + goto out_err; err = vfs_unlink(dentry->d_parent->d_inode, dentry); + mnt_drop_write(mqueue_mnt); out_err: dput(dentry); _ Patches currently in -mm which might be from haveblue@xxxxxxxxxx are origin.patch git-acpi.patch ro-bind-mounts-elevate-mnt-writers-for-vfs_unlink-callers.patch ro-bind-mounts-do_rmdir-elevate-write-count.patch ro-bind-mounts-elevate-writer-count-for-custom-struct-file.patch ro-bind-mounts-honor-r-w-changes-at-do_remount-time.patch page-owner-tracking-leak-detector.patch x86-e820-debugging.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