* [linux-next] fs/ocfs2/file.c:201: error: ‘BLKDEV_IFL_WAIT’ undeclared (first use in this function)
@ 2010-09-17 15:36 Sedat Dilek
2010-09-17 17:18 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Sedat Dilek @ 2010-09-17 15:36 UTC (permalink / raw)
To: LKML, axboe
[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]
Hi,
I pulled linux-2.6-block/for-next into mainline.
The build breaks, the issue is known [1] (but I didnt see a patch):
[ build.log ]
...
/home/sd/src/linux-2.6/linux-2.6.36-rc4/debian/build/source_i386_none/fs/ocfs2/file.c:201:
error: ‘BLKDEV_IFL_WAIT’ undeclared (first use in this function)
/home/sd/src/linux-2.6/linux-2.6.36-rc4/debian/build/source_i386_none/fs/ocfs2/file.c:201:
error: (Each undeclared identifier is reported only once
/home/sd/src/linux-2.6/linux-2.6.36-rc4/debian/build/source_i386_none/fs/ocfs2/file.c:201:
error: for each function it appears in.)
/home/sd/src/linux-2.6/linux-2.6.36-rc4/debian/build/source_i386_none/fs/ocfs2/file.c:201:
error: too many arguments to function ‘blkdev_issue_flush’
CC [M] net/rxrpc/ar-error.o
CC [M] drivers/scsi/scsi_error.o
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
Regards,
- Sedat -
[1] http://www.spinics.net/lists/linux-next/msg11970.html
P.S.: Is there an email-address for linux-next (did not see in MAINTAINERS)?
[-- Attachment #2: ocfs2-Fix-BLKDEV_IFL_WAIT-undeclared-in-blkdev_issue_flush.patch --]
[-- Type: text/plain, Size: 409 bytes --]
Index: linux-next/fs/ocfs2/file.c
===================================================================
--- linux-next.orig/fs/ocfs2/file.c
+++ linux-next/fs/ocfs2/file.c
@@ -198,7 +198,7 @@ static int ocfs2_sync_file(struct file *
*/
if (osb->s_mount_opt & OCFS2_MOUNT_BARRIER)
blkdev_issue_flush(inode->i_sb->s_bdev, GFP_KERNEL,
- NULL, BLKDEV_IFL_WAIT);
+ NULL);
goto bail;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next] fs/ocfs2/file.c:201: error: ‘BLKDEV_IFL_WAIT’ undeclared (first use in this function)
2010-09-17 15:36 [linux-next] fs/ocfs2/file.c:201: error: ‘BLKDEV_IFL_WAIT’ undeclared (first use in this function) Sedat Dilek
@ 2010-09-17 17:18 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2010-09-17 17:18 UTC (permalink / raw)
To: sedat.dilek; +Cc: Sedat Dilek, LKML, axboe
On Fri, 17 Sep 2010 17:36:43 +0200 Sedat Dilek wrote:
> Hi,
>
> I pulled linux-2.6-block/for-next into mainline.
>
> The build breaks, the issue is known [1] (but I didnt see a patch):
Just a verbal patch, yes.
> [ build.log ]
> ...
> /home/sd/src/linux-2.6/linux-2.6.36-rc4/debian/build/source_i386_none/fs/ocfs2/file.c:201:
> error: ‘BLKDEV_IFL_WAIT’ undeclared (first use in this function)
> /home/sd/src/linux-2.6/linux-2.6.36-rc4/debian/build/source_i386_none/fs/ocfs2/file.c:201:
> error: (Each undeclared identifier is reported only once
> /home/sd/src/linux-2.6/linux-2.6.36-rc4/debian/build/source_i386_none/fs/ocfs2/file.c:201:
> error: for each function it appears in.)
> /home/sd/src/linux-2.6/linux-2.6.36-rc4/debian/build/source_i386_none/fs/ocfs2/file.c:201:
> error: too many arguments to function ‘blkdev_issue_flush’
> CC [M] net/rxrpc/ar-error.o
> CC [M] drivers/scsi/scsi_error.o
> make[3]: *** [sub-make] Error 2
> make[2]: *** [all] Error 2
>
> Regards,
> - Sedat -
>
> [1] http://www.spinics.net/lists/linux-next/msg11970.html
>
> P.S.: Is there an email-address for linux-next (did not see in MAINTAINERS)?
http://vger.kernel.org/vger-lists.html#linux-next
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-17 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-17 15:36 [linux-next] fs/ocfs2/file.c:201: error: ‘BLKDEV_IFL_WAIT’ undeclared (first use in this function) Sedat Dilek
2010-09-17 17:18 ` Randy Dunlap
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®