From: niu Date: Thu, 4 Aug 2005 09:45:49 +0000 (+0000) Subject: give a warnning if somebody don't pass lustre id to ost, it should be X-Git-Tag: 1.4.10~828 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5855494328617ab577e9e2401003ef35c4b9d624;p=fs%2Flustre-release.git give a warnning if somebody don't pass lustre id to ost, it should be error assertion in future. --- diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index ca5f29f..3db7684 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -2371,6 +2371,8 @@ int filter_create_object(struct obd_device *obd, struct obdo *oa) CERROR("store fid in object failed! rc:%d\n", rc); GOTO(cleanup, rc); } + } else { + CWARN("create object without lustre id!\n"); }