Re: [PATCH v3 3/4] super: wait for nascent superblocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Here's my suggestion:
> 
> /**
>  * super_lock - Wait for superblock to become ready and lock it.
>  * @sb: Superblock to wait for.
>  * @excl: Whether exclusive access is required.
>  *
>  * If the superblock has neither passed through vfs_get_tree() or
>  * generic_shutdown_super() yet wait for it to happen. Either superblock
>  * creation will succeed and SB_BORN is set by vfs_get_tree() or we're
>  * woken and we'll see SB_DYING.
>  *
>  * Context: May sleep.  The caller must have incremented @sb->s_count.
>  * Return: s_umount is always acquired.  Returns true if the superblock
>  * is active, false if the superblock is dying.
>  */

Yeah, sure. Applied in-tree.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux