diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-12-01 08:06:27 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-12-01 08:06:27 +0000 |
commit | cc2f51ef325aecc29224b67c168ee5451017a669 (patch) | |
tree | c92df9acda5d941661be45fa48961bf89363e14b | |
parent | e9d823dde4ca7d3c17330db0bd669cc1c37b104c (diff) | |
download | src-cc2f51ef325aecc29224b67c168ee5451017a669.tar.gz src-cc2f51ef325aecc29224b67c168ee5451017a669.zip |
Style: move data to top of file.
Notes
Notes:
svn path=/head/; revision=138260
-rw-r--r-- | sys/kern/kern_descrip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 505b613481c5..305470eaac7d 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -144,6 +144,10 @@ int nfiles; /* actual number of open files */ struct sx filelist_lock; /* sx to protect filelist */ struct mtx sigio_lock; /* mtx to protect pointers to sigio */ +/* A mutex to protect the association between a proc and filedesc. */ +struct mtx fdesc_mtx; +MTX_SYSINIT(fdesc, &fdesc_mtx, "fdesc", MTX_DEF); + /* * Find the first zero bit in the given bitmap, starting at low and not * exceeding size - 1. @@ -1524,10 +1528,6 @@ fdcopy(fdp) return (newfdp); } -/* A mutex to protect the association between a proc and filedesc. */ -struct mtx fdesc_mtx; -MTX_SYSINIT(fdesc, &fdesc_mtx, "fdesc", MTX_DEF); - /* * Release a filedesc structure. */ |