From f29b9278bb782b48c4f31dd7d42dc530ce598969 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 14 Jun 2005 01:11:24 +0000 Subject: r7557: trigger a probe at tconx time to see if xattrs are really supported by the filesystem (This used to be commit 71e281ae2fe2ce169aeb09f72376a60d28845808) --- source4/ntvfs/posix/vfs_posix.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/ntvfs/posix/vfs_posix.c') diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index 1d3979aabf..846ba61a86 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -91,6 +91,11 @@ static void pvfs_setup_options(struct pvfs_state *pvfs) #ifdef HAVE_BLKID pvfs->blkid_cache = NULL; #endif + + /* check if the system really supports xattrs */ + if (pvfs->flags & PVFS_FLAG_XATTR_ENABLE) { + pvfs_xattr_probe(pvfs); + } } -- cgit