• Home
  • Raw
  • Download

Lines Matching refs:status

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