diff --git a/lustre/llite/lproc_llite.c b/lustre/llite/lproc_llite.c index 6e630a6e1eb3cc5ea6b48e99e02b2cf21c1f29cb..5f429c52bbbd8a2f46e4e909944d66c9874180f1 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 1386670a5b31eba4a8c74d4d7ffe2b731d8cb180..4d8f8e19c0eb0106a70564d48a9b98b1c69918eb 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,