]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ext3_fs_sb.h
Merge branches 'core/futexes', 'core/locking', 'core/rcu' and 'linus' into core/urgent
[linux-2.6-omap-h63xx.git] / include / linux / ext3_fs_sb.h
index b65f0288b842202866b878e5bae6889d2b763576..e024e38248ffc83e0bfc77bdb3713674d2188118 100644 (file)
@@ -83,4 +83,10 @@ struct ext3_sb_info {
 #endif
 };
 
+static inline spinlock_t *
+sb_bgl_lock(struct ext3_sb_info *sbi, unsigned int block_group)
+{
+       return bgl_lock_ptr(&sbi->s_blockgroup_lock, block_group);
+}
+
 #endif /* _LINUX_EXT3_FS_SB */