]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ext2_fs_sb.h
Merge branch 'topic/asoc' into for-linus
[linux-2.6-omap-h63xx.git] / include / linux / ext2_fs_sb.h
index f273415ab6f1afab257883b2b00d4f9cd6d1512b..dc541f3653d173fe45cbd9ba1e7a89192432d6bc 100644 (file)
@@ -108,4 +108,10 @@ struct ext2_sb_info {
        struct ext2_reserve_window_node s_rsv_window_head;
 };
 
+static inline spinlock_t *
+sb_bgl_lock(struct ext2_sb_info *sbi, unsigned int block_group)
+{
+       return bgl_lock_ptr(&sbi->s_blockgroup_lock, block_group);
+}
+
 #endif /* _LINUX_EXT2_FS_SB */