From aa1c5b8842ca23d6fabd84be5a61bc84d8f5bfc6 Mon Sep 17 00:00:00 2001 From: lsy Date: Wed, 8 Nov 2006 15:07:05 +0000 Subject: [PATCH] more verbose message. --- lustre/obdfilter/filter_capa.c | 2 +- lustre/obdfilter/lproc_obdfilter.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lustre/obdfilter/filter_capa.c b/lustre/obdfilter/filter_capa.c index c40d639..976b615 100644 --- a/lustre/obdfilter/filter_capa.c +++ b/lustre/obdfilter/filter_capa.c @@ -117,7 +117,7 @@ int filter_auth_capa(struct obd_export *exp, struct lu_fid *fid, __u64 mdsid, RETURN(-EACCES); } -#warning "enable fid check in filter_auth_capa when fid ready" +#warning "enable fid check in filter_auth_capa() when fid stored in OSS object" if (opc == CAPA_OPC_OSS_READ) { if (!(capa->lc_opc & CAPA_OPC_OSS_RW)) diff --git a/lustre/obdfilter/lproc_obdfilter.c b/lustre/obdfilter/lproc_obdfilter.c index 730a3f4..63f08d0 100644 --- a/lustre/obdfilter/lproc_obdfilter.c +++ b/lustre/obdfilter/lproc_obdfilter.c @@ -334,9 +334,8 @@ static int lprocfs_filter_wr_capa(struct file *file, const char *buffer, } obd->u.filter.fo_fl_oss_capa = val; - if (val) - LCONSOLE_INFO("OSS %s enabled fid capability.\n", - obd->obd_name); + LCONSOLE_INFO("OSS %s %s fid capability.\n", obd->obd_name, + val ? "enabled" : "disabled"); return count; } -- 1.8.3.1