diff options
author | kib <kib@FreeBSD.org> | 2008-12-08 13:15:31 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-12-08 13:15:31 +0000 |
commit | 5981f9f73b6b5c935c74afc6fcff91d16d67515a (patch) | |
tree | 28d456f3fabbf6c41d9c9bc9b25d209eced6d36c /sys/compat/linprocfs | |
parent | 4f0c734de3a80aa26126f5589d78de161c559073 (diff) | |
download | FreeBSD-src-5981f9f73b6b5c935c74afc6fcff91d16d67515a.zip FreeBSD-src-5981f9f73b6b5c935c74afc6fcff91d16d67515a.tar.gz |
Make two style changes to create new commit and document proper commit
message for r185765.
Noted by: rdivacky
Requested by: des
Commit message for r185765 should be:
In procfs map handler, and in linprocfs maps handler, do not call
vn_fullpath() while having vm map locked. This is done in anticipation
of the vop_vptocnp commit, that would make vn_fullpath sometime
acquire vnode lock.
Also, in linprocfs, maps handler already acquires vnode lock.
No objections from: des
MFC after: 2 week
Diffstat (limited to 'sys/compat/linprocfs')
-rw-r--r-- | sys/compat/linprocfs/linprocfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index ac912b2..11d1ae0 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -273,8 +273,7 @@ linprocfs_docpuinfo(PFS_FILL_ARGS) /* XXX per-cpu vendor / class / model / id? */ } - sbuf_cat(sb, - "flags\t\t:"); + sbuf_cat(sb, "flags\t\t:"); if (!strcmp(cpu_vendor, "AuthenticAMD") && (class < 6)) { flags[16] = "fcmov"; |