diff options
author | ngie <ngie@FreeBSD.org> | 2015-02-17 09:31:58 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-02-17 09:31:58 +0000 |
commit | 994a2af400b8f7d3fad70460c95a8d6791133c20 (patch) | |
tree | 75da65f3697817e2854cb1ee0caf5e23b10f2b23 /sys/kern | |
parent | 3eb2cab31461031118ce1c049d34f5c251a044ee (diff) | |
download | FreeBSD-src-994a2af400b8f7d3fad70460c95a8d6791133c20.zip FreeBSD-src-994a2af400b8f7d3fad70460c95a8d6791133c20.tar.gz |
Add the mnt_lockref field to the ddb(4) 'show mount' command
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D1688
Submitted by: Conrad Meyer <conrad.meyer@isilon.com>
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_subr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index a610e18..cfa8f45 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -3203,6 +3203,7 @@ DB_SHOW_COMMAND(mount, db_show_mount) db_printf(" mnt_maxsymlinklen = %d\n", mp->mnt_maxsymlinklen); db_printf(" mnt_iosize_max = %d\n", mp->mnt_iosize_max); db_printf(" mnt_hashseed = %u\n", mp->mnt_hashseed); + db_printf(" mnt_lockref = %d\n", mp->mnt_lockref); db_printf(" mnt_secondary_writes = %d\n", mp->mnt_secondary_writes); db_printf(" mnt_secondary_accwrites = %d\n", mp->mnt_secondary_accwrites); |