deactivate_locked_super(9) suse man page | unix.com

Man Page: deactivate_locked_super

Operating Environment: suse

Section: 9

DEACTIVATE_LOCKED_SU(9) 					   The Linux VFS					   DEACTIVATE_LOCKED_SU(9)

NAME
deactivate_locked_super - drop an active reference to superblock
SYNOPSIS
void deactivate_locked_super(struct super_block * s);
ARGUMENTS
s superblock to deactivate
DESCRIPTION
Equivalent of up_write(s->s_umount); deactivate_super(s);, except that it does not unlock it until it's all over. As the result, it's safe to use to dispose of new superblock on ->get_sb failure exits - nobody will see the sucker until it's all over. Equivalent using up_write + deactivate_super is safe for that purpose only if superblock is either safe to use or has NULL ->s_root when we unlock.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 DEACTIVATE_LOCKED_SU(9)
Related Man Pages
dumpe2fs(8) - linux
fstyp(1m) - hpux
dumpe2fs(8) - minix
dumpe2fs(8) - x11r4
dumpe2fs(8) - v7
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Getting command output to putty window title.
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!
32 bit process addressing more than 4GB