Home
last modified time | relevance | path

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

/linux/fs/gfs2/
H A Ddentry.c44 int had_lock = 0; in gfs2_drevalidate() local
60 had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL); in gfs2_drevalidate()
61 if (!had_lock) { in gfs2_drevalidate()
70 if (!had_lock) in gfs2_drevalidate()
/linux/fs/ocfs2/
H A Dxattr.c1566 int ret, had_lock; in ocfs2_xattr_get() local
1570 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_xattr_get()
1571 if (had_lock < 0) { in ocfs2_xattr_get()
1572 mlog_errno(had_lock); in ocfs2_xattr_get()
1573 return had_lock; in ocfs2_xattr_get()
1580 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_xattr_get()
3784 int ret, credits, had_lock, ref_meta = 0, ref_credits = 0; in ocfs2_xattr_set() local
3820 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 1, &oh); in ocfs2_xattr_set()
3821 if (had_lock < 0) { in ocfs2_xattr_set()
3822 ret = had_lock; in ocfs2_xattr_set()
[all …]