Re: [PATCH 20/24] sys_mknodat(): elevate write count for vfs_mknod/create()

From: Christoph Hellwig
Date: Wed Sep 19 2007 - 13:40:47 EST


On Mon, Sep 17, 2007 at 11:27:45AM -0700, Dave Hansen wrote:
>
> This takes care of all of the direct callers of vfs_mknod().
> Since a few of these cases also handle normal file creation
> as well, this also covers some calls to vfs_create().
>
> So that we don't have to make three mnt_want/drop_write()
> calls inside of the switch statement, we move some of its
> logic outside of the switch.

Ok.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/