/* Also this lock is often released before a call that could block because reiserfs performances were partialy based on the release while schedule() property of the Bkl.  */
void reiserfs_write_lock(struct super_block *s)
/* Also this lock is often released before a call that could block because reiserfs performances were partialy based on the release while schedule() property of the Bkl.  */
void reiserfs_write_lock(struct super_block *s)
{
	struct reiserfs_sb_info *sb_i = REISERFS_SB(s);
	if (sb_i->lock_owner != current) {
		mutex_lock(&sb_i->lock);
		sb_i->lock_owner = current;
	}
	sb_i->lock_depth++;
}