.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "GRAB_SUPER" "" "06 October 2005" "" "" .SH NAME grab_super \- acquire an active reference .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int grab_super (struct super_block * \fIs\fB); \fR .SH "ARGUMENTS" .TP \fB\fIs\fB\fR reference we are trying to make active .SH "DESCRIPTION" .PP Tries to acquire an active reference. \fBgrab_super\fR is used when we had just found a superblock in super_blocks or fs_type->fs_supers and want to turn it into a full-blown active reference. \fBgrab_super\fR is called with sb_lock held and drops it. Returns 1 in case of success, 0 if we had failed (superblock contents was already dead or dying when \fBgrab_super\fR had been called).