aboutsummaryrefslogtreecommitdiffstats
path: root/src/usermap.h
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2015-09-13 20:28:33 +0100
committerMartin Pärtel <martin.partel@gmail.com>2015-09-13 20:28:33 +0100
commit9233b2b04f448d7e28bc0c36116d2ed64a4ce7d4 (patch)
treea0eae592bb51d933a71f768274e7c1200e5c567e /src/usermap.h
parent938fca9e085b5cced50800abba06b5300df5ac4c (diff)
downloadbindfs-9233b2b04f448d7e28bc0c36116d2ed64a4ce7d4.tar.gz
bindfs_rmdir: fix leak if lstat fails and only call it when flag is set.
bindfs_rmdir should never get called on a symlink unless --resolve_symlinks is set (or a race condition changes the target into a symlink). This means we can avoid the lstat if the flag is not set. This may slightly enhance code readability too.
Diffstat (limited to 'src/usermap.h')
0 files changed, 0 insertions, 0 deletions