Changeset View
Changeset View
Standalone View
Standalone View
sys/ufs/ffs/ffs_vfsops.c
Show First 20 Lines • Show All 1,290 Lines • ▼ Show 20 Lines | if (ronly == 0) { | ||||
fs->fs_clean = 0; | fs->fs_clean = 0; | ||||
(void) ffs_sbupdate(ump, MNT_WAIT, 0); | (void) ffs_sbupdate(ump, MNT_WAIT, 0); | ||||
} | } | ||||
/* | /* | ||||
* Initialize filesystem state information in mount struct. | * Initialize filesystem state information in mount struct. | ||||
*/ | */ | ||||
MNT_ILOCK(mp); | MNT_ILOCK(mp); | ||||
mp->mnt_kern_flag |= MNTK_LOOKUP_SHARED | MNTK_EXTENDED_SHARED | | mp->mnt_kern_flag |= MNTK_LOOKUP_SHARED | MNTK_EXTENDED_SHARED | | ||||
MNTK_NO_IOPF | MNTK_UNMAPPED_BUFS | MNTK_USES_BCACHE; | MNTK_NO_IOPF | MNTK_UNMAPPED_BUFS | MNTK_USES_BCACHE | | ||||
MNTK_PGCACHE_READ; | |||||
MNT_IUNLOCK(mp); | MNT_IUNLOCK(mp); | ||||
#ifdef UFS_EXTATTR | #ifdef UFS_EXTATTR | ||||
#ifdef UFS_EXTATTR_AUTOSTART | #ifdef UFS_EXTATTR_AUTOSTART | ||||
/* | /* | ||||
* | * | ||||
* Auto-starting does the following: | * Auto-starting does the following: | ||||
* - check for /.attribute in the fs, and extattr_start if so | * - check for /.attribute in the fs, and extattr_start if so | ||||
* - for each file in .attribute, enable that file with | * - for each file in .attribute, enable that file with | ||||
▲ Show 20 Lines • Show All 1,377 Lines • Show Last 20 Lines |