diff options
author | Stefan Hajnoczi <stefanha@gmail.com> | 2019-11-03 10:43:43 +0100 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-11-03 09:43:43 +0000 |
commit | fa0981fe80b037cdd923f3d87157e78f9e1222a9 (patch) | |
tree | b2f333a37f8d43a3c2db3ff99e0091bf4e45bc45 /lib | |
parent | 74596e2929c9b9b065f90d04ab7a2232652c64c4 (diff) | |
download | libfuse-fa0981fe80b037cdd923f3d87157e78f9e1222a9.tar.gz |
passthrough_ll: drop lo_dirp->fd field (#464)
fdopendir(3) takes ownership of the file descriptor. The presence of
the lo_dirp->fd field could lead to someone incorrectly adding a
close(d->fd) cleanup call in the future.
Do not store the file descriptor in struct lo_dirp since it is unused.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions