]> code.delx.au - pulseaudio/commit
Pass GDBM_NOLOCK to gdbm
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Dec 2008 19:22:42 +0000 (20:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Dec 2008 19:22:42 +0000 (20:22 +0100)
commit3f20a152be5b57cb90cd4124cf60c29435cd1662
tree1aa72bcf3c907955089e87219865cee4dc7c11c1
parent209a8d7b5546e51ff1a88444c6d6282f6e74301b
Pass GDBM_NOLOCK to gdbm

gdbm still uses BSD lockf for locking which is incompatible with NFS.
Since we don't need the locking here since the db files in question
should never be accessed by more than one process since they are
per-home-dir and per-machine we can disable locking without any ill
results.

This should fix rhbz #471279.
src/modules/module-device-restore.c
src/modules/module-stream-restore.c