summaryrefslogtreecommitdiffstats
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-11-08 15:10:03 +0100
committerJeremy Allison <jra@samba.org>2013-11-08 09:42:20 -0800
commit29f12e7d5960906935e3af1405e9759a07d64750 (patch)
treee5fee9958aecc87a35a88446767593d0ed1499c6 /source4/smb_server
parentc7aab6e5205b78f00f84492cc1a0fd4b67ef917a (diff)
downloadsamba-29f12e7d5960906935e3af1405e9759a07d64750.tar.gz
samba-29f12e7d5960906935e3af1405e9759a07d64750.tar.xz
samba-29f12e7d5960906935e3af1405e9759a07d64750.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: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/smb_server')
0 files changed, 0 insertions, 0 deletions