1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct handle_s</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="data_types.html#structures" title="Structures"><link rel="prev" href="API-typedef-journal-t.html" title="typedef journal_t"><link rel="next" href="API-struct-journal-s.html" title="struct journal_s"></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">struct handle_s</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-typedef-journal-t.html">Prev</a>&#160;</td><th width="60%" align="center">Structures</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-journal-s.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-handle-s"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct handle_s &#8212; 
2     this is the concrete type associated with handle_t.
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct handle_s {
5  transaction_t * h_transaction;
6  int h_buffer_credits;
7  int h_ref;
8  int h_err;
9  unsigned int h_sync:1;
10  unsigned int h_jdata:1;
11  unsigned int h_aborted:1;
12#ifdef CONFIG_DEBUG_LOCK_ALLOC
13  struct lockdep_map h_lockdep_map;
14#endif
15};  </pre></div><div class="refsect1"><a name="idp1103633748"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">h_transaction</span></dt><dd><p>
16   Which compound transaction is this update a part of?
17      </p></dd><dt><span class="term">h_buffer_credits</span></dt><dd><p>
18   Number of remaining buffers we are allowed to dirty.
19      </p></dd><dt><span class="term">h_ref</span></dt><dd><p>
20   Reference count on this handle
21      </p></dd><dt><span class="term">h_err</span></dt><dd><p>
22   Field for caller's use to track errors through large fs operations
23      </p></dd><dt><span class="term">h_sync</span></dt><dd><p>
24   flag for sync-on-close
25      </p></dd><dt><span class="term">h_jdata</span></dt><dd><p>
26   flag to force data journaling
27      </p></dd><dt><span class="term">h_aborted</span></dt><dd><p>
28   flag indicating fatal error on handle
29      </p></dd><dt><span class="term">h_lockdep_map</span></dt><dd><p>
30   lockdep info for debugging lock problems
31      </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-typedef-journal-t.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="data_types.html#structures">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-journal-s.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">typedef journal_t</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">struct journal_s</span></td></tr></table></div></body></html>
32