Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144448820
D44773.id136986.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
809 B
Referenced Files
None
Subscribers
None
D44773.id136986.diff
View Options
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -367,9 +367,10 @@
/* now copy across the "interesting" information and fake the rest */
sbp->f_type = mstat->f_type;
- sbp->f_flags = (sbp->f_flags & (MNT_RDONLY | MNT_NOEXEC | MNT_NOSUID |
- MNT_UNION | MNT_NOSYMFOLLOW | MNT_AUTOMOUNTED | MNT_IGNORE)) |
- (mstat->f_flags & ~(MNT_ROOTFS | MNT_AUTOMOUNTED));
+ sbp->f_flags &= MNT_RDONLY | MNT_NOEXEC | MNT_NOSUID | MNT_UNION |
+ MNT_NOSYMFOLLOW | MNT_AUTOMOUNTED | MNT_EXPORTED | MNT_IGNORE;
+ mstat->f_flags &= ~(MNT_ROOTFS | MNT_AUTOMOUNTED | MNT_EXPORTED);
+ sbp->f_flags |= mstat->f_flags;
sbp->f_bsize = mstat->f_bsize;
sbp->f_iosize = mstat->f_iosize;
sbp->f_blocks = mstat->f_blocks;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 12:16 PM (10 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28577445
Default Alt Text
D44773.id136986.diff (809 B)
Attached To
Mode
D44773: nullfs: Show correct exported flag.
Attached
Detach File
Event Timeline
Log In to Comment