summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile
index 5af2426116d3..a4e2df66bdbb 100644
--- a/fs/btrfs/Makefile
+++ b/fs/btrfs/Makefile
@@ -18,5 +18,5 @@ KERNELDIR := /lib/modules/`uname -r`/build
all::
$(MAKE) -C $(KERNELDIR) M=`pwd` modules
clean::
- rm *.o btrfs.ko
+ $(MAKE) -C $(KERNELDIR) M=`pwd` clean
endif