2013-06-10 07:10:15

by Li Feng

[permalink] [raw]
Subject: [PATCH] fs/cepth compile error

I try to compile kernel v3.9.2 v3.9.5, It outputs couldn't find fs/cepth/ioctl.o
Go to the dir and couldn't find the ioctl.c,only a ioctl.h file.But
the ioctl.h isn't included by other file.
So simply remove ioctl.o from the Makefile to fix.

Thanks

commit d8e29a9f5a2474ac0dcb26baa3cf29075f3ce980
Author: vonnyfly <[email protected]>
Date: Mon Jun 10 14:53:38 2013 +0800

fix ioctl.o not find error
---
fs/ceph/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ceph/Makefile b/fs/ceph/Makefile
index bd35212..e0d2294 100644
--- a/fs/ceph/Makefile
+++ b/fs/ceph/Makefile
@@ -4,7 +4,7 @@

obj-$(CONFIG_CEPH_FS) += ceph.o

-ceph-y := super.o inode.o dir.o file.o locks.o addr.o ioctl.o \
+ceph-y := super.o inode.o dir.o file.o locks.o addr.o \
export.o caps.o snap.o xattr.o \
mds_client.o mdsmap.o strings.o ceph_frag.o \
debugfs.o

--
Thanks and Best Regards,
vonnyfly

Cell:13401157876
Email :[email protected]
Addr: Rm. 911,DaYunCun,Zhichun Road,Haidian Districts Beijing,100191


2013-06-10 07:23:35

by Paul Bolle

[permalink] [raw]
Subject: Re: [PATCH] fs/cepth compile error

On Mon, 2013-06-10 at 15:09 +0800, 冯力 wrote:
> I try to compile kernel v3.9.2 v3.9.5, It outputs couldn't find fs/cepth/ioctl.o
> Go to the dir and couldn't find the ioctl.c,only a ioctl.h file.But
> the ioctl.h isn't included by other file.
> So simply remove ioctl.o from the Makefile to fix.

$ git cat-file blob v3.9.2:fs/ceph/ioctl.c | wc -l
285
$ git cat-file blob v3.9.5:fs/ceph/ioctl.c | wc -l
285

Didn't you just, somehow, delete fs/ceph/ioctl.c locally?


Paul Bolle