Home
last modified time | relevance | path

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

/linux-4.19.296/fs/reiserfs/
Dlock.c24 struct reiserfs_sb_info *sb_i = REISERFS_SB(s); in reiserfs_write_lock() local
26 if (sb_i->lock_owner != current) { in reiserfs_write_lock()
27 mutex_lock(&sb_i->lock); in reiserfs_write_lock()
28 sb_i->lock_owner = current; in reiserfs_write_lock()
32 sb_i->lock_depth++; in reiserfs_write_lock()
37 struct reiserfs_sb_info *sb_i = REISERFS_SB(s); in reiserfs_write_unlock() local
44 BUG_ON(sb_i->lock_owner != current); in reiserfs_write_unlock()
46 if (--sb_i->lock_depth == -1) { in reiserfs_write_unlock()
47 sb_i->lock_owner = NULL; in reiserfs_write_unlock()
48 mutex_unlock(&sb_i->lock); in reiserfs_write_unlock()
[all …]