Lines Matching refs:status
42 int status, set;
64 status = ocfs2_nfs_sync_lock(osb, 1);
65 if (status < 0) {
66 mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n", status);
70 status = ocfs2_test_inode_bit(osb, blkno, &set);
71 if (status < 0) {
72 if (status == -EINVAL) {
78 status = -ESTALE;
80 mlog(ML_ERROR, "test inode bit failed %d\n", status);
84 trace_ocfs2_get_dentry_test_bit(status, set);
87 status = -ESTALE;
97 if (status < 0) {
98 if (status == -ESTALE) {
102 result = ERR_PTR(status);
133 int status;
142 status = ocfs2_nfs_sync_lock(OCFS2_SB(dir->i_sb), 1);
143 if (status < 0) {
144 mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n", status);
145 parent = ERR_PTR(status);
149 status = ocfs2_inode_lock(dir, NULL, 0);
150 if (status < 0) {
151 if (status != -ENOENT)
152 mlog_errno(status);
153 parent = ERR_PTR(status);
157 status = ocfs2_lookup_ino_from_name(dir, "..", 2, &blkno);
158 if (status < 0) {
163 status = ocfs2_test_inode_bit(OCFS2_SB(dir->i_sb), blkno, &set);
164 if (status < 0) {
165 if (status == -EINVAL) {
166 status = -ESTALE;
168 mlog(ML_ERROR, "test inode bit failed %d\n", status);
169 parent = ERR_PTR(status);
173 trace_ocfs2_get_dentry_test_bit(status, set);
175 status = -ESTALE;
176 parent = ERR_PTR(status);