summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2006-12-20 03:05:30 +0000
committerXin LI <delphij@FreeBSD.org>2006-12-20 03:05:30 +0000
commitcb4a6e71ba7acecf9df58db517fa1ccf237c5aae (patch)
tree02d2fcb524432b6274df42e7b8a3994da6f74440
parent6d73e049720fc2d4cf4c279107e32e7b718dad36 (diff)
Notes
-rw-r--r--sys/fs/msdosfs/msdosfs_vfsops.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c
index 3969516958c7..a5656770d8f6 100644
--- a/sys/fs/msdosfs/msdosfs_vfsops.c
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c
@@ -262,11 +262,8 @@ msdosfs_mount(struct mount *mp, struct thread *td)
* Forbid export requests if filesystem has
* MSDOSFS_LARGEFS flag set.
*/
- if ((pmp->pm_flags & MSDOSFS_LARGEFS) != 0) {
- vfs_mount_error(mp,
- "MSDOSFS_LARGEFS flag set, cannot export");
+ if ((pmp->pm_flags & MSDOSFS_LARGEFS) != 0)
return (EOPNOTSUPP);
- }
}
if (!(pmp->pm_flags & MSDOSFSMNT_RONLY) &&
vfs_flagopt(mp->mnt_optnew, "ro", NULL, 0)) {