]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Clear task_struct->fs_excl on fork()
authorGiancarlo Formicuccia <giancarlo.formicuccia@gmail.com>
Fri, 9 Sep 2005 20:01:22 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:56:43 +0000 (13:56 -0700)
commit12d3b0e81cdb58d8e815b42d4c539e04a0e5aac3
tree6072a602430af9a95d2bcadf149bd41c8045ef67
parent2540e914b7deb949f6015763cd4b17a89fd9f5ab
[PATCH] Clear task_struct->fs_excl on fork()

An oversight.  We don't want to carry the IO scheduler's "we hold exclusive fs
resources" hint over to the child across fork().

Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/fork.c