This area of code is currently #ifdef'd out, so add a comment for the time when it is actually used. Signed-off-by: Dave Hansen <haveblue@xxxxxxxxxx> --- lxc-dave/fs/namespace.c | 4 ++++ 1 files changed, 4 insertions(+) diff -puN fs/namespace.c~elevate-writers-opens-part5 fs/namespace.c --- lxc/fs/namespace.c~elevate-writers-opens-part5 2006-06-07 16:53:24.000000000 -0700 +++ lxc-dave/fs/namespace.c 2006-06-07 16:53:24.000000000 -0700 @@ -679,6 +679,10 @@ static int mount_is_safe(struct nameidat if (current->uid != nd->dentry->d_inode->i_uid) return -EPERM; } + /* + * We will eventually check for the mnt->writer_count here, + * but since the code is not used now, skipt it - Dave Hansen + */ if (vfs_permission(nd, MAY_WRITE)) return -EPERM; return 0; _ - 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