diff options
author | Andreas Schneider <asn@samba.org> | 2013-11-08 15:41:18 +0100 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2013-11-12 17:33:12 +0100 |
commit | 654b784e9c9c3563afd1af853f4795117c258e56 (patch) | |
tree | 553188734265e45a6bb96cb5a07b0b5cad00b48a /ctdb/lib/talloc/pytalloc_util.c | |
parent | 2405e7906c41a2cd08f7e643dfc83b6380cadcf4 (diff) | |
download | samba-654b784e9c9c3563afd1af853f4795117c258e56.tar.gz samba-654b784e9c9c3563afd1af853f4795117c258e56.tar.xz samba-654b784e9c9c3563afd1af853f4795117c258e56.zip |
s3-vfs: Fix stream_depot vfs module on btrfs.
Checking if the directory is empty using 'nlink == 2' only checks if
there are no subdirectories. It doesn't indicate if there are files in
the directory. However checking link count for no subdirectories is
wrong and applications shouldn't rely on it, see:
https://lkml.org/lkml/2012/2/1/756
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'ctdb/lib/talloc/pytalloc_util.c')
0 files changed, 0 insertions, 0 deletions