diff options
author | des <des@FreeBSD.org> | 2004-02-09 20:33:42 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-09 20:33:42 +0000 |
commit | d02b8b76aeef136ecfee87d8320d15d21785afd4 (patch) | |
tree | 14bb669441b027a266a4f366d0246f13a6b36cba /sys/compat/linprocfs | |
parent | db87815c123eeb7f7ad0ddc23157b7497526a598 (diff) | |
download | FreeBSD-src-d02b8b76aeef136ecfee87d8320d15d21785afd4.zip FreeBSD-src-d02b8b76aeef136ecfee87d8320d15d21785afd4.tar.gz |
Remove VFS_STATFS() call which violated the lock order and wasn't
really required anyway.
PR: kern/61994
Submitted by: Bjoern Groenvall <bg@sics.se>
Diffstat (limited to 'sys/compat/linprocfs')
-rw-r--r-- | sys/compat/linprocfs/linprocfs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 5b6893c..48f5be0 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -361,10 +361,6 @@ linprocfs_domtab(PFS_FILL_ARGS) mtx_lock(&mountlist_mtx); error = 0; TAILQ_FOREACH(mp, &mountlist, mnt_list) { - error = VFS_STATFS(mp, &mp->mnt_stat, td); - if (error) - break; - /* determine device name */ mntfrom = mp->mnt_stat.f_mntfromname; |