X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Fobd_class.h;h=206e65936f38aa80ddb3b542a80d3d93ea4ee2b1;hb=d0b3e251ad5d5e86c49082ca8e1201118357ea65;hp=905825f9cf1e5de4655df956bd92dd8e0bef128e;hpb=a3850a044ef7cc2658b355672338b9865ed59fe4;p=fs%2Flustre-release.git diff --git a/lustre/include/obd_class.h b/lustre/include/obd_class.h index 905825f..206e659 100644 --- a/lustre/include/obd_class.h +++ b/lustre/include/obd_class.h @@ -1190,16 +1190,6 @@ static inline int obd_extent_calc(struct obd_export *exp, RETURN(rc); } -static inline struct dentry * -obd_lvfs_fid2dentry(struct obd_export *exp, struct ost_id *oi, __u32 gen) -{ - struct lvfs_run_ctxt *ctxt = &exp->exp_obd->obd_lvfs_ctxt; - LASSERT(exp->exp_obd); - - return ctxt->cb_ops.l_fid2dentry(ostid_id(oi), gen, ostid_seq(oi), - exp->exp_obd); -} - /* @max_age is the oldest time in jiffies that we accept using a cached data. * If the cache is older than @max_age we will get a new value from the * target. Use a value of "cfs_time_current() + HZ" to guarantee freshness. */