Lines Matching refs:status
40 int status, set;
62 status = ocfs2_nfs_sync_lock(osb, 1);
63 if (status < 0) {
64 mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n", status);
68 status = ocfs2_test_inode_bit(osb, blkno, &set);
69 if (status < 0) {
70 if (status == -EINVAL) {
76 status = -ESTALE;
78 mlog(ML_ERROR, "test inode bit failed %d\n", status);
82 trace_ocfs2_get_dentry_test_bit(status, set);
85 status = -ESTALE;
95 if (status < 0) {
96 if (status == -ESTALE) {
100 result = ERR_PTR(status);
131 int status;
140 status = ocfs2_nfs_sync_lock(OCFS2_SB(dir->i_sb), 1);
141 if (status < 0) {
142 mlog(ML_ERROR, "getting nfs sync lock(EX) failed %d\n", status);
143 parent = ERR_PTR(status);
147 status = ocfs2_inode_lock(dir, NULL, 0);
148 if (status < 0) {
149 if (status != -ENOENT)
150 mlog_errno(status);
151 parent = ERR_PTR(status);
155 status = ocfs2_lookup_ino_from_name(dir, "..", 2, &blkno);
156 if (status < 0) {
161 status = ocfs2_test_inode_bit(OCFS2_SB(dir->i_sb), blkno, &set);
162 if (status < 0) {
163 if (status == -EINVAL) {
164 status = -ESTALE;
166 mlog(ML_ERROR, "test inode bit failed %d\n", status);
167 parent = ERR_PTR(status);
171 trace_ocfs2_get_dentry_test_bit(status, set);
173 status = -ESTALE;
174 parent = ERR_PTR(status);