2009-08-10 16:51:37

by Mingming Cao

[permalink] [raw]
Subject: [PATCH] compile fix for debuging delalloc patch

Fix compile errors when compiling ext4 patch queue unstable series..
Need to include smp_lock.h to able to add lock_kernel() call in ioctl.c


Signed-Off-By: Mingming Cao <[email protected]>

Index: linux-2.6.31-rc4/fs/ext4/ioctl.c
===================================================================
--- linux-2.6.31-rc4.orig/fs/ext4/ioctl.c 2009-08-09 14:31:55.000000000 -0700
+++ linux-2.6.31-rc4/fs/ext4/ioctl.c 2009-08-09 14:32:08.000000000 -0700
@@ -15,6 +15,7 @@
#include <linux/mount.h>
#include <linux/file.h>
#include <asm/uaccess.h>
+#include <linux/smp_lock.h>
#include "ext4_jbd2.h"
#include "ext4.h"





2009-08-11 13:02:45

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] compile fix for debuging delalloc patch

On Mon, Aug 10, 2009 at 09:51:30AM -0700, Mingming wrote:
> Fix compile errors when compiling ext4 patch queue unstable series..
> Need to include smp_lock.h to able to add lock_kernel() call in ioctl.c

Thanks, I've fixed up the delalloc-debug-ioctl patch.

- Ted