Signed-off-by: Dave Hansen <haveblue@xxxxxxxxxx> --- fs/open.c | 0 lxc-dave/fs/nfsd/nfs4recover.c | 4 ++++ 2 files changed, 4 insertions(+) diff -puN fs/namei.c~elevate-writers-vfs_mkdir fs/namei.c diff -puN fs/nfsd/nfs4recover.c~elevate-writers-vfs_mkdir fs/nfsd/nfs4recover.c --- lxc/fs/nfsd/nfs4recover.c~elevate-writers-vfs_mkdir 2006-06-07 16:53:14.000000000 -0700 +++ lxc-dave/fs/nfsd/nfs4recover.c 2006-06-07 16:53:14.000000000 -0700 @@ -155,7 +155,11 @@ nfsd4_create_clid_dir(struct nfs4_client dprintk("NFSD: nfsd4_create_clid_dir: DIRECTORY EXISTS\n"); goto out_put; } + status = mnt_want_write(rec_dir.mnt); + if (status) + goto out_put; status = vfs_mkdir(rec_dir.dentry->d_inode, dentry, S_IRWXU); + mnt_drop_write(rec_dir.mnt); out_put: dput(dentry); out_unlock: diff -puN fs/nfsd/vfs.c~elevate-writers-vfs_mkdir fs/nfsd/vfs.c diff -puN ipc/mqueue.c~elevate-writers-vfs_mkdir ipc/mqueue.c diff -puN fs/open.c~elevate-writers-vfs_mkdir fs/open.c _ - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html