1DEACTIVATE_LOCKED_SU(9)          The Linux VFS         DEACTIVATE_LOCKED_SU(9)
2
3
4

NAME

6       deactivate_locked_super - drop an active reference to superblock
7

SYNOPSIS

9       void deactivate_locked_super(struct super_block * s);
10

ARGUMENTS

12       s
13           superblock to deactivate
14

DESCRIPTION

16       Equivalent of up_write(s->s_umount); deactivate_super(s);, except that
17       it does not unlock it until it´s all over. As the result, it´s safe to
18       use to dispose of new superblock on ->get_sb failure exits - nobody
19       will see the sucker until it´s all over. Equivalent using up_write +
20       deactivate_super is safe for that purpose only if superblock is either
21       safe to use or has NULL ->s_root when we unlock.
22
24Kernel Hackers Manual 2.6.         June 2019           DEACTIVATE_LOCKED_SU(9)
Impressum