Are lock_super() and unlock_super() deprecated?

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

 



Hello everyone,

short question: What am I supposed to use instead of lock_super() and
unlock_super() in newly written filesystem drivers?

fs/super.c:
> 352 /*
> 353  * Superblock locking.  We really ought to get rid of these two.
> 354  */
> 355 void lock_super(struct super_block * sb)
> 356 {
> 357         mutex_lock(&sb->s_lock);
> 358 }
> 359 
> 360 void unlock_super(struct super_block * sb)
> 361 {
> 362         mutex_unlock(&sb->s_lock);
> 363 }
> 364 
> 365 EXPORT_SYMBOL(lock_super);
> 366 EXPORT_SYMBOL(unlock_super);

Regards,
Dan

-- 
Dan Luedtke
http://www.danrl.de

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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