aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@gmail.com>2019-11-03 10:43:43 +0100
committerNikolaus Rath <Nikolaus@rath.org>2019-11-03 09:43:43 +0000
commitfa0981fe80b037cdd923f3d87157e78f9e1222a9 (patch)
treeb2f333a37f8d43a3c2db3ff99e0091bf4e45bc45 /lib
parent74596e2929c9b9b065f90d04ab7a2232652c64c4 (diff)
downloadlibfuse-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