diff options
| author | Al Viro <[email protected]> | 2016-06-08 01:53:51 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2016-06-08 01:53:51 +0000 |
| commit | a01e718f7241c53f564402f7acff373eed5bd166 (patch) | |
| tree | cea10fecfae5e081e954861905c25a7f22143444 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | fix d_walk()/non-delayed __d_free() race (diff) | |
| download | kernel-a01e718f7241c53f564402f7acff373eed5bd166.tar.gz kernel-a01e718f7241c53f564402f7acff373eed5bd166.zip | |
fix a regression in atomic_open()
open("/foo/no_such_file", O_RDONLY | O_CREAT) on should fail with
EACCES when /foo is not writable; failing with ENOENT is obviously
wrong. That got broken by a braino introduced when moving the
creat_error logics from atomic_open() to lookup_open(). Easy to
fix, fortunately.
Spotted-by: "Yan, Zheng" <[email protected]>
Tested-by: "Yan, Zheng" <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
