Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-181 obdclass: fix portal_handle memory wastage
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_compat.c
diff --git
a/lustre/osd-ldiskfs/osd_compat.c
b/lustre/osd-ldiskfs/osd_compat.c
index
c890947
..
0af8f75
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_compat.c
+++ b/
lustre/osd-ldiskfs/osd_compat.c
@@
-496,7
+496,7
@@
static const struct named_oid oids[] = {
{ MDD_ORPHAN_OID, "" /* "PENDING" */ },
{ MDD_LOV_OBJ_OID, "" /* LOV_OBJID */ },
{ MDD_CAPA_KEYS_OID, "" /* CAPA_KEYS */ },
-
{ MDT_LAST_RECV_OID, "" /* LAST_RCVD */
},
+
{ MDT_LAST_RECV_OID, LAST_RCVD
},
{ OFD_LAST_RECV_OID, "" /* LAST_RCVD */ },
{ OFD_LAST_GROUP_OID, "" /* "LAST_GROUP" */ },
{ LLOG_CATALOGS_OID, "" /* "CATALOGS" */ },
@@
-559,7
+559,7
@@
int osd_compat_spec_lookup(struct osd_thread_info *info,
name = oid2name(fid_oid(fid));
if (name == NULL || strlen(name) == 0)
-
return -ERESTART
;
+
RETURN(-ENOENT)
;
dentry = ll_lookup_one_len(name, osd_sb(osd)->s_root, strlen(name));
if (!IS_ERR(dentry)) {