linux-next: vfs tree build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Al,

Today's linux-next build (x86_64 allmodconfig) failed like this:

fs/cachefiles/cf-daemon.c: In function 'cachefiles_daemon_cull':
fs/cachefiles/cf-daemon.c:576: error: dereferencing pointer to incomplete type
fs/cachefiles/cf-daemon.c:577: error: dereferencing pointer to incomplete type
fs/cachefiles/cf-daemon.c:578: error: dereferencing pointer to incomplete type
fs/cachefiles/cf-daemon.c: In function 'cachefiles_daemon_inuse':
fs/cachefiles/cf-daemon.c:652: error: dereferencing pointer to incomplete type
fs/cachefiles/cf-daemon.c:653: error: dereferencing pointer to incomplete type
fs/cachefiles/cf-daemon.c:654: error: dereferencing pointer to incomplete type

Caused by commit 96a16ef5cd64d79f9706b9dccdb180d248c46866 ("CacheFiles: A
cache that backs onto a mounted filesystem") (from the nfs tree)
interacting with commit 5ad4e53bd5406ee214ddc5a41f03f779b8b2d526 ("Get
rid of indirect include of fs_struct.h") (from the vfs tree).

I applied the following merge fixup patch.

David, Trond, this should be applicable to the nfs tree already.
-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Thu, 2 Apr 2009 13:06:20 +1100
Subject: [PATCH] nfs: fixup for fallout from cleaning up includes of fs_struct.h

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
 fs/cachefiles/cf-daemon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/cachefiles/cf-daemon.c b/fs/cachefiles/cf-daemon.c
index 6aa6e65..b285632 100644
--- a/fs/cachefiles/cf-daemon.c
+++ b/fs/cachefiles/cf-daemon.c
@@ -21,6 +21,7 @@
 #include <linux/mount.h>
 #include <linux/statfs.h>
 #include <linux/ctype.h>
+#include <linux/fs_struct.h>
 #include "cf-internal.h"
 
 static int cachefiles_daemon_open(struct inode *, struct file *);
-- 
1.6.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux