GRAB_SUPER

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

grab_super - acquire an active reference  

SYNOPSIS

"SYNOPSIS"

int grab_super (struct super_block * s);  

ARGUMENTS

s
reference we are trying to make active
 

DESCRIPTION

Tries to acquire an active reference. grab_super 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. grab_super 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 grab_super had been called).


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:11 GMT, October 09, 2005