Whamcloud - gitweb
Branch:b1_6
authorwangdi <wangdi>
Tue, 26 Feb 2008 01:45:40 +0000 (01:45 +0000)
committerwangdi <wangdi>
Tue, 26 Feb 2008 01:45:40 +0000 (01:45 +0000)
Missing clear "clear" entry in the filter setup error handler.
b=14370
i=adilger,ericm

lustre/obdfilter/filter.c

index d5ebbbe..7500698 100644 (file)
@@ -1878,6 +1878,7 @@ static int filter_setup(struct obd_device *obd, obd_count len, void *buf)
         OBD_PAGE_FREE(page);
 
         if (rc) {
+                remove_proc_entry("clear", obd->obd_proc_exports_entry);
                 lprocfs_free_per_client_stats(obd);
                 lprocfs_free_obd_stats(obd);
                 lprocfs_obd_cleanup(obd);