Re: [PATCH] btrfs: compile fix

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

 



On 01/15/2011 10:33 AM, James Bottomley wrote:
Could we please fix this problem:

In file included from fs/btrfs/ctree.c:21:
fs/btrfs/ctree.h:1003: error: field 'super_kobj' has incomplete type
fs/btrfs/ctree.h:1074: error: field 'root_kobj' has incomplete type
make[2]: *** [fs/btrfs/ctree.o] Error 1

It's annoying all my builds at the moment.

James

---

diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index a142d20..f4f5fd5 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -25,6 +25,7 @@
  #include<linux/fs.h>
  #include<linux/completion.h>
  #include<linux/backing-dev.h>
+#include<linux/kobject.h>
  #include<linux/wait.h>
  #include<linux/slab.h>
  #include<asm/kmap_types.h>


This has been broken for a day or three, and the fix is obvious.

Please forward to Linus.  It's annoying everybody.  :)

	Jeff


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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux