From 1aa62294d88e234f54cc2de573480591739b8754 Mon Sep 17 00:00:00 2001 From: wangdi <wangdi> Date: Thu, 1 Sep 2005 07:58:17 +0000 Subject: [PATCH] Branch: HEAD lproc for update config should return count, not 0 --- lustre/llite/lproc_llite.c | 3 ++- lustre/mds/lproc_mds.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/llite/lproc_llite.c b/lustre/llite/lproc_llite.c index 6e630a6e1e..5f429c52bb 100644 --- a/lustre/llite/lproc_llite.c +++ b/lustre/llite/lproc_llite.c @@ -227,7 +227,8 @@ static int ll_wr_config_update(struct file *file, const char *buffer, ENTRY; CWARN("Starting a LOV/OST update !\n"); - RETURN(ll_process_config_update(sbi, 0)); + ll_process_config_update(sbi, 0); + RETURN(count); } static int ll_rd_max_read_ahead_mb(char *page, char **start, off_t off, diff --git a/lustre/mds/lproc_mds.c b/lustre/mds/lproc_mds.c index 1386670a5b..4d8f8e19c0 100644 --- a/lustre/mds/lproc_mds.c +++ b/lustre/mds/lproc_mds.c @@ -93,7 +93,8 @@ static int lprocfs_mds_wr_config_update(struct file *file, const char *buffer, struct obd_device *obd = data; ENTRY; - RETURN(mds_dt_update_config(obd, 0)); + mds_dt_update_config(obd, 0); + RETURN(count); } static int lprocfs_rd_filesopen(char *page, char **start, off_t off, -- GitLab