Lines Matching refs:status
56 int status, set; in ocfs2_get_dentry() local
78 status = ocfs2_nfs_sync_lock(osb, 1); in ocfs2_get_dentry()
79 if (status < 0) { in ocfs2_get_dentry()
80 mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n", status); in ocfs2_get_dentry()
84 status = ocfs2_test_inode_bit(osb, blkno, &set); in ocfs2_get_dentry()
85 if (status < 0) { in ocfs2_get_dentry()
86 if (status == -EINVAL) { in ocfs2_get_dentry()
92 status = -ESTALE; in ocfs2_get_dentry()
94 mlog(ML_ERROR, "test inode bit failed %d\n", status); in ocfs2_get_dentry()
98 trace_ocfs2_get_dentry_test_bit(status, set); in ocfs2_get_dentry()
101 status = -ESTALE; in ocfs2_get_dentry()
111 if (status < 0) { in ocfs2_get_dentry()
112 if (status == -ESTALE) { in ocfs2_get_dentry()
116 result = ERR_PTR(status); in ocfs2_get_dentry()
147 int status; in ocfs2_get_parent() local
155 status = ocfs2_inode_lock(dir, NULL, 0); in ocfs2_get_parent()
156 if (status < 0) { in ocfs2_get_parent()
157 if (status != -ENOENT) in ocfs2_get_parent()
158 mlog_errno(status); in ocfs2_get_parent()
159 parent = ERR_PTR(status); in ocfs2_get_parent()
163 status = ocfs2_lookup_ino_from_name(dir, "..", 2, &blkno); in ocfs2_get_parent()
164 if (status < 0) { in ocfs2_get_parent()