fs, proc: Report EISDIR when reading sysctl dirs in proc
Subsystems (3)
PATCH 1/1 fs, proc: Report EISDIR when reading sysctl dirs in proc
From: Pavel Emelyanov <[email protected]>
On reading sysctl dirs we should return -EISDIR instead of -EINVAL.
--- fs/proc/proc_sysctl.c | 1 + 1 file changed, 1 insertion(+)
fs/proc/proc_sysctl.c +1 -0
@@ -370,6 +370,7 @@ static const struct file_operations proc };static const struct file_operations proc_sys_dir_file_operations = { + .read = generic_read_dir, .readdir = proc_sys_readdir, .llseek = generic_file_llseek, };
Quoted 7 lines · Cyrill Gorcunov
From: Pavel Emelyanov <[email protected]>
On reading sysctl dirs we should return
-EISDIRinstead of-EINVAL.Signed-off-by Pavel Emelyanov <[email protected]>Signed-off-by Cyrill Gorcunov <[email protected]>---
Ping? Any objections on this patch?
Cyrill
Quoted 10 lines · Cyrill Gorcunov
Quoted 7 lines · Cyrill Gorcunov
From: Pavel Emelyanov <[email protected]>
On reading sysctl dirs we should return
-EISDIRinstead of-EINVAL.Signed-off-by Pavel Emelyanov <[email protected]>Signed-off-by Cyrill Gorcunov <[email protected]>---
Ping? Any objections on this patch?
Gentlemen, I'm sorry to bother you again, but can you please share your plans about this fix?
Thanks,
Pavel
Quoted 3 lines
Cyrill
.
On Wed, Aug 24, 2011 at 10:26:36AM +0400, Pavel Emelyanov wrote:
...
Quoted 6 lines
Quoted 2 lines
Ping? Any objections on this patch?
Gentlemen, I'm sorry to bother you again, but can you please share your plans about this fix?
Andrew has picked it up yesterday. Didn't you get CC?
Cyrill
Quoted 10 lines · Cyrill Gorcunov
On Wed, Aug 24, 2011 at 10:26:36AM +0400, Pavel Emelyanov wrote:
...Quoted 6 lines
Quoted 2 lines
Ping? Any objections on this patch?
Gentlemen, I'm sorry to bother you again, but can you please share your plans about this fix?
Andrew has picked it up yesterday. Didn't you get CC?
Not yet :( We've had power outage at Parallels this night, maybe this is the reason of the delay...
Quoted 2 lines
Cyrill