The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Re: mmotm 2008-12-16-00-43 uploaded (fs)
       [not found] <200812160847.mBG8lOrw019428@imap1.linux-foundation.org>
@ 2008-12-16 17:41 ` Randy Dunlap
  2008-12-16 18:00   ` Randy Dunlap
  2008-12-16 17:53 ` mmotm 2008-12-16-00-43 uploaded (sparse irq) Randy Dunlap
  1 sibling, 1 reply; 8+ messages in thread
From: Randy Dunlap @ 2008-12-16 17:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, npiggin

akpm@linux-foundation.org wrote:
> The mm-of-the-moment snapshot 2008-12-16-00-43 has been uploaded to
> 
>    http://userweb.kernel.org/~akpm/mmotm/
> 
> It contains the following patches against 2.6.28-rc8:
> 
> fs-symlink-write_begin-allocation-context-fix.patch

Nick,

fuse and reiser4 still use __grab_cache_page() although your patch
removed it:

build-r7257.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/reiser4/plugin/file/file_conversi
on.c:689: error: implicit declaration of function '__grab_cache_page'
build-r7257.out:make[3]: *** [fs/reiser4/plugin/file/file_conversion.o] Error 1

build-r7248.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/fuse/file.c:792: error: implicit declaration of function '__grab_cache_page'
build-r7248.out:make[3]: *** [fs/fuse/file.o] Error 1

~Randy


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mmotm 2008-12-16-00-43 uploaded (sparse irq)
       [not found] <200812160847.mBG8lOrw019428@imap1.linux-foundation.org>
  2008-12-16 17:41 ` mmotm 2008-12-16-00-43 uploaded (fs) Randy Dunlap
@ 2008-12-16 17:53 ` Randy Dunlap
  1 sibling, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2008-12-16 17:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, Ingo Molnar

akpm@linux-foundation.org wrote:
> The mm-of-the-moment snapshot 2008-12-16-00-43 has been uploaded to
> 
>    http://userweb.kernel.org/~akpm/mmotm/
> 
> It contains the following patches against 2.6.28-rc8:
> 
> irq-enclose-irq_desc_lock_class-in-config_sparse_irq.patch

whose patch is that?

If CONFIG_SPARSE_IRQ is not enabled, then builds fail with:

build-r7248.out:/local/linsrc/tmp/mmotm-2008-1216-0043/kernel/irq/handle.c:434: error: 'irq_desc_lock_class' undeclared (first use in this function)
build-r7248.out:make[3]: *** [kernel/irq/handle.o] Error 1


~Randy

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mmotm 2008-12-16-00-43 uploaded (fs)
  2008-12-16 17:41 ` mmotm 2008-12-16-00-43 uploaded (fs) Randy Dunlap
@ 2008-12-16 18:00   ` Randy Dunlap
  2008-12-16 18:21     ` Andrew Morton
  0 siblings, 1 reply; 8+ messages in thread
From: Randy Dunlap @ 2008-12-16 18:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, npiggin

Randy Dunlap wrote:
> akpm@linux-foundation.org wrote:
>> The mm-of-the-moment snapshot 2008-12-16-00-43 has been uploaded to
>>
>>    http://userweb.kernel.org/~akpm/mmotm/
>>
>> It contains the following patches against 2.6.28-rc8:
>>
>> fs-symlink-write_begin-allocation-context-fix.patch
> 
> Nick,
> 
> fuse and reiser4 still use __grab_cache_page() although your patch
> removed it:
> 
> build-r7257.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/reiser4/plugin/file/file_conversi
> on.c:689: error: implicit declaration of function '__grab_cache_page'
> build-r7257.out:make[3]: *** [fs/reiser4/plugin/file/file_conversion.o] Error 1
> 
> build-r7248.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/fuse/file.c:792: error: implicit declaration of function '__grab_cache_page'
> build-r7248.out:make[3]: *** [fs/fuse/file.o] Error 1


One more related error:

build-r7258.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/ubifs/file.c:251: error: 'flags' undeclared (first use in this function)
build-r7258.out:make[3]: *** [fs/ubifs/file.o] Error 1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mmotm 2008-12-16-00-43 uploaded (fs)
  2008-12-16 18:00   ` Randy Dunlap
@ 2008-12-16 18:21     ` Andrew Morton
  2008-12-18 11:47       ` KOSAKI Motohiro
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Morton @ 2008-12-16 18:21 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, npiggin

On Tue, 16 Dec 2008 10:00:56 -0800 Randy Dunlap <randy.dunlap@oracle.com> wrote:

> Randy Dunlap wrote:
> > akpm@linux-foundation.org wrote:
> >> The mm-of-the-moment snapshot 2008-12-16-00-43 has been uploaded to
> >>
> >>    http://userweb.kernel.org/~akpm/mmotm/
> >>
> >> It contains the following patches against 2.6.28-rc8:
> >>
> >> fs-symlink-write_begin-allocation-context-fix.patch
> > 
> > Nick,
> > 
> > fuse and reiser4 still use __grab_cache_page() although your patch
> > removed it:
> > 
> > build-r7257.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/reiser4/plugin/file/file_conversi
> > on.c:689: error: implicit declaration of function '__grab_cache_page'
> > build-r7257.out:make[3]: *** [fs/reiser4/plugin/file/file_conversion.o] Error 1
> > 
> > build-r7248.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/fuse/file.c:792: error: implicit declaration of function '__grab_cache_page'
> > build-r7248.out:make[3]: *** [fs/fuse/file.o] Error 1
> 
> 
> One more related error:
> 
> build-r7258.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/ubifs/file.c:251: error: 'flags' undeclared (first use in this function)
> build-r7258.out:make[3]: *** [fs/ubifs/file.o] Error 1

thanks, I dropped it.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mmotm 2008-12-16-00-43 uploaded (fs)
  2008-12-16 18:21     ` Andrew Morton
@ 2008-12-18 11:47       ` KOSAKI Motohiro
  2008-12-18 11:48         ` KOSAKI Motohiro
                           ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: KOSAKI Motohiro @ 2008-12-18 11:47 UTC (permalink / raw)
  To: Andrew Morton; +Cc: kosaki.motohiro, Randy Dunlap, linux-kernel, npiggin

> On Tue, 16 Dec 2008 10:00:56 -0800 Randy Dunlap <randy.dunlap@oracle.com> wrote:
> 
> > Randy Dunlap wrote:
> > > akpm@linux-foundation.org wrote:
> > >> The mm-of-the-moment snapshot 2008-12-16-00-43 has been uploaded to
> > >>
> > >>    http://userweb.kernel.org/~akpm/mmotm/
> > >>
> > >> It contains the following patches against 2.6.28-rc8:
> > >>
> > >> fs-symlink-write_begin-allocation-context-fix.patch
> > > 
> > > Nick,
> > > 
> > > fuse and reiser4 still use __grab_cache_page() although your patch
> > > removed it:
> > > 
> > > build-r7257.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/reiser4/plugin/file/file_conversi
> > > on.c:689: error: implicit declaration of function '__grab_cache_page'
> > > build-r7257.out:make[3]: *** [fs/reiser4/plugin/file/file_conversion.o] Error 1
> > > 
> > > build-r7248.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/fuse/file.c:792: error: implicit declaration of function '__grab_cache_page'
> > > build-r7248.out:make[3]: *** [fs/fuse/file.o] Error 1
> > 
> > 
> > One more related error:
> > 
> > build-r7258.out:/local/linsrc/tmp/mmotm-2008-1216-0043/fs/ubifs/file.c:251: error: 'flags' undeclared (first use in this function)
> > build-r7258.out:make[3]: *** [fs/ubifs/file.o] Error 1
> 
> thanks, I dropped it.

I'm sad ;)

I have fixing patch. this patch series have

1) reiser4 fix
2) ubifs fix
3) fuse fix



Tested on mmotm1217 + fs-symlink-write_begin-allocation-context-fix.patch

==
Subject: [PATCH 1/3] fix reiser4 build error of fs-symlink-write_begin-allocation-context-fix.patch

build fix.


Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
 fs/reiser4/plugin/file/file_conversion.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: b/fs/reiser4/plugin/file/file_conversion.c
===================================================================
--- a/fs/reiser4/plugin/file/file_conversion.c
+++ b/fs/reiser4/plugin/file/file_conversion.c
@@ -686,7 +686,8 @@ int reiser4_write_begin_careful(struct f
 	start = pos & (PAGE_CACHE_SIZE - 1);
 	end = start + len;
 
-	page = __grab_cache_page(mapping, index);
+	page = grab_cache_page_write_begin(mapping, index,
+					   flags & AOP_FLAG_NOFS);
 	*pagep = page;
 	if (!page)
 		return -ENOMEM;





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mmotm 2008-12-16-00-43 uploaded (fs)
  2008-12-18 11:47       ` KOSAKI Motohiro
@ 2008-12-18 11:48         ` KOSAKI Motohiro
  2008-12-18 11:49         ` KOSAKI Motohiro
  2008-12-18 23:15         ` Nick Piggin
  2 siblings, 0 replies; 8+ messages in thread
From: KOSAKI Motohiro @ 2008-12-18 11:48 UTC (permalink / raw)
  To: Andrew Morton; +Cc: kosaki.motohiro, Randy Dunlap, linux-kernel, npiggin

> I have fixing patch. this patch series have
> 
> 1) reiser4 fix
> 2) ubifs fix
> 3) fuse fix
> 



Tested on mmotm1217 + fs-symlink-write_begin-allocation-context-fix.patch

==
Subject: [PATCH 2/3] fix ubifs build error of fs-symlink-write_begin-allocation-context-fix.patch

build fix.


Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
 fs/ubifs/file.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Index: b/fs/ubifs/file.c
===================================================================
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -219,7 +219,8 @@ static void release_existing_page_budget
 }
 
 static int write_begin_slow(struct address_space *mapping,
-			    loff_t pos, unsigned len, struct page **pagep)
+			    loff_t pos, unsigned len, struct page **pagep,
+			    unsigned flags)
 {
 	struct inode *inode = mapping->host;
 	struct ubifs_info *c = inode->i_sb->s_fs_info;
@@ -485,7 +486,7 @@ static int ubifs_write_begin(struct file
 		unlock_page(page);
 		page_cache_release(page);
 
-		return write_begin_slow(mapping, pos, len, pagep);
+		return write_begin_slow(mapping, pos, len, pagep, flags);
 	}
 
 	/*



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mmotm 2008-12-16-00-43 uploaded (fs)
  2008-12-18 11:47       ` KOSAKI Motohiro
  2008-12-18 11:48         ` KOSAKI Motohiro
@ 2008-12-18 11:49         ` KOSAKI Motohiro
  2008-12-18 23:15         ` Nick Piggin
  2 siblings, 0 replies; 8+ messages in thread
From: KOSAKI Motohiro @ 2008-12-18 11:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: kosaki.motohiro, Randy Dunlap, linux-kernel, npiggin


> I have fixing patch. this patch series have
> 
> 1) reiser4 fix
> 2) ubifs fix
> 3) fuse fix


Tested on mmotm1217 + fs-symlink-write_begin-allocation-context-fix.patch

==
Subject: [PATCH 3/3] fix fuse build error of fs-symlink-write_begin-allocation-context-fix.patch

build fix.


Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
 fs/fuse/file.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/fs/fuse/file.c
===================================================================
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -789,7 +789,7 @@ static ssize_t fuse_fill_write_pages(str
 			break;
 
 		err = -ENOMEM;
-		page = __grab_cache_page(mapping, index);
+		page = grab_cache_page_write_begin(mapping, index, 0);
 		if (!page)
 			break;
 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mmotm 2008-12-16-00-43 uploaded (fs)
  2008-12-18 11:47       ` KOSAKI Motohiro
  2008-12-18 11:48         ` KOSAKI Motohiro
  2008-12-18 11:49         ` KOSAKI Motohiro
@ 2008-12-18 23:15         ` Nick Piggin
  2 siblings, 0 replies; 8+ messages in thread
From: Nick Piggin @ 2008-12-18 23:15 UTC (permalink / raw)
  To: KOSAKI Motohiro; +Cc: Andrew Morton, Randy Dunlap, linux-kernel

On Thu, Dec 18, 2008 at 08:47:57PM +0900, KOSAKI Motohiro wrote:
> > 
> > thanks, I dropped it.
> 
> I'm sad ;)
> 
> I have fixing patch. this patch series have
> 
> 1) reiser4 fix
> 2) ubifs fix
> 3) fuse fix

Thank you very much for doing these. They look good to me.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-12-18 23:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200812160847.mBG8lOrw019428@imap1.linux-foundation.org>
2008-12-16 17:41 ` mmotm 2008-12-16-00-43 uploaded (fs) Randy Dunlap
2008-12-16 18:00   ` Randy Dunlap
2008-12-16 18:21     ` Andrew Morton
2008-12-18 11:47       ` KOSAKI Motohiro
2008-12-18 11:48         ` KOSAKI Motohiro
2008-12-18 11:49         ` KOSAKI Motohiro
2008-12-18 23:15         ` Nick Piggin
2008-12-16 17:53 ` mmotm 2008-12-16-00-43 uploaded (sparse irq) Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox