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-6207 osd: add dput in osd_ost_init
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_handler.c
diff --git
a/lustre/osd-ldiskfs/osd_handler.c
b/lustre/osd-ldiskfs/osd_handler.c
index
669033f
..
508ec87
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_handler.c
+++ b/
lustre/osd-ldiskfs/osd_handler.c
@@
-2366,6
+2366,9
@@
int osd_ea_fid_set(struct osd_thread_info *info, struct inode *inode,
if (OBD_FAIL_CHECK(OBD_FAIL_FID_INLMA))
RETURN(0);
+ if (OBD_FAIL_CHECK(OBD_FAIL_OSD_OST_EA_FID_SET))
+ rc = -ENOMEM;
+
lustre_lma_init(lma, fid, compat, incompat);
lustre_lma_swab(lma);