Move down the become_root()/unbecome_root() calls into the VFS modules
authorVolker Lendecke <vl@samba.org>
Mon, 18 May 2009 11:30:16 +0000 (13:30 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 18 May 2009 11:51:42 +0000 (13:51 +0200)
commit5239011c4938fe99c62169a740323c97f1424f59
treebfc80f33b8e6c5c153c843b0d773aba756894ccd
parent2f66b4d266b76125c25a5e5ff27db6c74cb76a6a
Move down the become_root()/unbecome_root() calls into the VFS modules

The aio_fork module does not need this, as it does not communicate via signals
but with pipes. Watching a strace log with those become_root() calls in aio.c
is absolutely awful, and it does affect performance.
source/modules/vfs_default.c
source/smbd/aio.c