1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>deactivate_locked_super</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Filesystems API"><link rel="up" href="registration_and_superblocks.html" title="Registration and Superblocks"><link rel="prev" href="registration_and_superblocks.html" title="Registration and Superblocks"><link rel="next" href="API-deactivate-super.html" title="deactivate_super"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">deactivate_locked_super</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="registration_and_superblocks.html">Prev</a> </td><th width="60%" align="center">Registration and Superblocks</th><td width="20%" align="right"> <a accesskey="n" href="API-deactivate-super.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-deactivate-locked-super"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>deactivate_locked_super — 2 drop an active reference to superblock 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <b class="fsfunc">deactivate_locked_super </b>(</code></td><td>struct super_block * <var class="pdparam">s</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1101872116"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>s</code></em></span></dt><dd><p> 4 superblock to deactivate 5 </p></dd></dl></div></div><div class="refsect1"><a name="idp1101873684"></a><h2>Description</h2><p> 6 Drops an active reference to superblock, converting it into a temprory 7 one if there is no other active references left. In that case we 8 tell fs driver to shut it down and drop the temporary reference we 9 had just acquired. 10 </p><p> 11 12 Caller holds exclusive lock on superblock; that lock is released. 13</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="registration_and_superblocks.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="registration_and_superblocks.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-deactivate-super.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Registration and Superblocks </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">deactivate_super</span></td></tr></table></div></body></html> 14