]> git.proxmox.com Git - mirror_lxcfs.git/commit - bindings.c
fuse file info release: guard against multiple calls
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 29 Mar 2016 18:35:01 +0000 (13:35 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 29 Mar 2016 18:42:47 +0000 (13:42 -0500)
commit43215927ea6d09f4efed3bed3057c65094ea223b
tree04aeca4dd8f560c4e23cd95fe8ffb429ca934381
parent320135428f4100aa4a20b4b59d7208ad1cfaf440
fuse file info release: guard against multiple calls

While fuse clearly calls the release info helpers under pthread
lock, it's not as clear that it may not be called more than once.
Null everything after we free it.

The hope is that this will fix the occasional mysterious crashes
on very heavily used (50 containers nonstop) servers.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
bindings.c