summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union.h
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2004-10-05 05:59:29 +0000
committertakawata <takawata@FreeBSD.org>2004-10-05 05:59:29 +0000
commit58f5d3f21685e512bc226f042c10d57e06bc3ba9 (patch)
treec4461ddb3400baa80838ad958f09a8ef4f580937 /sys/fs/unionfs/union.h
parent6834dc4a7a573439bc3009b71986be5e2a4a102e (diff)
downloadFreeBSD-src-58f5d3f21685e512bc226f042c10d57e06bc3ba9.zip
FreeBSD-src-58f5d3f21685e512bc226f042c10d57e06bc3ba9.tar.gz
Fix unionfs problems when a directory is mounted on other directory
with different file systems. This may cause ill things with my previous fix. Now it translate fsid of direct child of mount point directory only. Pointed out by: Uwe Doering
Diffstat (limited to 'sys/fs/unionfs/union.h')
-rw-r--r--sys/fs/unionfs/union.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/unionfs/union.h b/sys/fs/unionfs/union.h
index f5326d4..f8af98a 100644
--- a/sys/fs/unionfs/union.h
+++ b/sys/fs/unionfs/union.h
@@ -44,6 +44,7 @@ struct union_mount {
struct ucred *um_cred; /* Credentials of user calling mount */
int um_cmode; /* cmask from mount process */
int um_op; /* Operation mode */
+ dev_t um_upperdev; /* Upper root node fsid[0]*/
};
#ifdef _KERNEL
OpenPOWER on IntegriCloud