Commit 724bb4a3 authored by Stephen Lord's avatar Stephen Lord Committed by Nathan Scott

[XFS] remove excess vn_remove from the unmount path

SGI Modid: 2.5.x-xfs:slinx:131939a
parent de9c7f21
...@@ -586,13 +586,10 @@ xfs_unmount( ...@@ -586,13 +586,10 @@ xfs_unmount(
ASSERT(vn_count(rvp) == 1); ASSERT(vn_count(rvp) == 1);
/* /*
* Drop the reference count, and then * Drop the reference count
* run the vnode through vn_remove.
*/ */
VN_RELE(rvp); VN_RELE(rvp);
vn_remove(rvp);
/* /*
* If we're forcing a shutdown, typically because of a media error, * If we're forcing a shutdown, typically because of a media error,
* we want to make sure we invalidate dirty pages that belong to * we want to make sure we invalidate dirty pages that belong to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment