* next-20130805 - compile errors in drivers/staging/lustre/lustre/llite/file.c
@ 2013-08-05 16:20 Valdis Kletnieks
2013-08-06 10:12 ` Peng Tao
0 siblings, 1 reply; 2+ messages in thread
From: Valdis Kletnieks @ 2013-08-05 16:20 UTC (permalink / raw)
To: Peng Tao, Kent Overstreet; +Cc: Greg Kroah-Hartman, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 992 bytes --]
Not sure how this train wreck happened - 'git log' shows the last patch to
touch include/linux/aio.h was some stuff of Kent's back in May, and 'git blame'
says the 2 lines of code that died were added on 2013-05-02.
It compiled when I build next-0730.
And yet, this morning, I get this building -0805:
CC [M] drivers/staging/lustre/lustre/llite/file.o
drivers/staging/lustre/lustre/llite/file.c: In function 'll_file_read':
drivers/staging/lustre/lustre/llite/file.c:1012:7: error: 'struct kiocb' has no member named 'ki_left'
kiocb->ki_left = count;
^
drivers/staging/lustre/lustre/llite/file.c: In function 'll_file_write':
drivers/staging/lustre/lustre/llite/file.c:1071:7: error: 'struct kiocb' has no member named 'ki_left'
kiocb->ki_left = count;
^
make[5]: *** [drivers/staging/lustre/lustre/llite/file.o] Error 1
Any ideas? Only thing I can think of is that Kent's stuff went into some
tree in May, but only surfaced in linux-next in the last little bit...
[-- Attachment #2: Type: application/pgp-signature, Size: 865 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: next-20130805 - compile errors in drivers/staging/lustre/lustre/llite/file.c
2013-08-05 16:20 next-20130805 - compile errors in drivers/staging/lustre/lustre/llite/file.c Valdis Kletnieks
@ 2013-08-06 10:12 ` Peng Tao
0 siblings, 0 replies; 2+ messages in thread
From: Peng Tao @ 2013-08-06 10:12 UTC (permalink / raw)
To: Valdis Kletnieks
Cc: Kent Overstreet, Greg Kroah-Hartman, Linux Kernel Mailing List,
Benjamin LaHaise
On Tue, Aug 6, 2013 at 12:20 AM, Valdis Kletnieks
<Valdis.Kletnieks@vt.edu> wrote:
> Not sure how this train wreck happened - 'git log' shows the last patch to
> touch include/linux/aio.h was some stuff of Kent's back in May, and 'git blame'
> says the 2 lines of code that died were added on 2013-05-02.
>
> It compiled when I build next-0730.
>
> And yet, this morning, I get this building -0805:
>
> CC [M] drivers/staging/lustre/lustre/llite/file.o
> drivers/staging/lustre/lustre/llite/file.c: In function 'll_file_read':
> drivers/staging/lustre/lustre/llite/file.c:1012:7: error: 'struct kiocb' has no member named 'ki_left'
> kiocb->ki_left = count;
> ^
> drivers/staging/lustre/lustre/llite/file.c: In function 'll_file_write':
> drivers/staging/lustre/lustre/llite/file.c:1071:7: error: 'struct kiocb' has no member named 'ki_left'
> kiocb->ki_left = count;
> ^
Lustre doesn't on depend ki_left. We can just remove it but it seems
we have missed kiocb->ki_nbytes here.
I'll fix this but please confirm whom the patch should go to? Benjamin LaHaise?
Thanks,
Tao
> make[5]: *** [drivers/staging/lustre/lustre/llite/file.o] Error 1
>
> Any ideas? Only thing I can think of is that Kent's stuff went into some
> tree in May, but only surfaced in linux-next in the last little bit...
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-06 10:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-05 16:20 next-20130805 - compile errors in drivers/staging/lustre/lustre/llite/file.c Valdis Kletnieks
2013-08-06 10:12 ` Peng Tao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®