diff options
| author | Dave Hansen <[email protected]> | 2008-02-15 14:37:57 -0800 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2008-04-19 00:25:34 -0400 |
| commit | 463c3197263bd26ac59a00d2484990e17e35c50e (patch) | |
| tree | b27c04f978ccd447ae33f7387b6a4aba0033acc5 /tools/perf/scripts/python | |
| parent | 0622753b800e4cc6cb9319b36b27658c72dd7cdc (diff) | |
[PATCH] r/o bind mounts: get callers of vfs_mknod/create/mkdir()
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 and into a helper function
suggested by Christoph.
This also encapsulates a fix for mknod(S_IFREG) that Miklos
found.
[AV: merged mkdir handling, added missing nfsd pieces]
Acked-by: Al Viro <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions