Home
last modified time | relevance | path

Searched refs:sb_i (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/fs/reiserfs/
Dlock.c23 struct reiserfs_sb_info *sb_i = REISERFS_SB(s); in reiserfs_write_lock() local
25 if (sb_i->lock_owner != current) { in reiserfs_write_lock()
26 mutex_lock(&sb_i->lock); in reiserfs_write_lock()
27 sb_i->lock_owner = current; in reiserfs_write_lock()
31 sb_i->lock_depth++; in reiserfs_write_lock()
36 struct reiserfs_sb_info *sb_i = REISERFS_SB(s); in reiserfs_write_unlock() local
43 BUG_ON(sb_i->lock_owner != current); in reiserfs_write_unlock()
45 if (--sb_i->lock_depth == -1) { in reiserfs_write_unlock()
46 sb_i->lock_owner = NULL; in reiserfs_write_unlock()
47 mutex_unlock(&sb_i->lock); in reiserfs_write_unlock()
[all …]