filelock: fix segfault on some use cases of log file locking
authorJens Axboe <axboe@fb.com>
Wed, 14 Jan 2015 04:06:45 +0000 (21:06 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 14 Jan 2015 04:06:45 +0000 (21:06 -0700)
commit529016bcf7fc16d0b9509f0e4562211349809ab8
tree6bcefa2eea69e0c97dc2549b0757a4d60a123b79
parentecbfcd94b24d312a7813cf137a45db3f0c264350
filelock: fix segfault on some use cases of log file locking

If we end up diving into a new smalloc pool, we could add
file lock references that meant nothing to other processes.

Fixes: 243bfe190245
Signed-off-by: Jens Axboe <axboe@fb.com>
filelock.c