Re: [announce] 'patchview' script

2005-07-19 Thread Nick Wilson
#x27;: Permission denied cp: cannot create regular file `/fs/Kconfig': No such file or directory mkdir: cannot create directory `/fs': Permission denied cp: cannot create regular file `/fs/Makefile': No such file or directory [ ... ] This patch makes mktemp work correct

Re: [NFS] [PATCH] NFS: fix client hang due to race condition

2005-07-07 Thread Nick Wilson
On Wed, Jul 06, 2005 at 07:11:25PM -0700, Lever, Charles wrote: > > The flags field in struct nfs_inode is protected by the BKL. The > > following two code paths (there may be more, but my test program only > > hits these two) modify the flags without obtaining the lock: > > > > nfs_end_data_

[PATCH] NFS: fix client hang due to race condition

2005-07-06 Thread Nick Wilson
urs and I was unable to get the client to hang. Thanks, Nick Wilson [1] http://developer.osdl.org/njw/nfs-bug/breaknfs.c [2] http://developer.osdl.org/njw/nfs-bug/alt-sysrq-t.txt [3] http://developer.osdl.org/njw/nfs-bug/kernel-config The flags field in struct nfs_inode is protected by the BKL

[PATCH] Use ALIGN to remove duplicate code

2005-04-08 Thread Nick Wilson
On Thu, Apr 07, 2005 at 05:50:42PM -0700, Andrew Morton wrote: > Nick Wilson <[EMAIL PROTECTED]> wrote: > > The first patch adds a generic round_up_pow2() macro to kernel.h. The > > remaining patches modify a few files to make use of the new macro. > >

[PATCH 6/6] mm/bootmem.c: use generic round_up_pow2() macro

2005-04-07 Thread Nick Wilson
From: Nick Wilson <[EMAIL PROTECTED]> Use the generic round_up_pow2() instead of a custom rounding method. Signed-off-by: Nick Wilson <[EMAIL PROTECTED]> --- bootmem.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: linux/

[PATCH 5/6] lib/bitmap.c: use generic round_up_pow2() macro

2005-04-07 Thread Nick Wilson
From: Nick Wilson <[EMAIL PROTECTED]> Use the generic round_up_pow2() instead of a custom rounding method. Signed-off-by: Nick Wilson <[EMAIL PROTECTED]> --- bitmap.c |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: linux/

[PATCH 4/6] kernel/resource.c: use generic round_up_pow2() macro

2005-04-07 Thread Nick Wilson
From: Nick Wilson <[EMAIL PROTECTED]> Use the generic round_up_pow2() instead of a custom rounding method. Signed-off-by: Nick Wilson <[EMAIL PROTECTED]> --- resource.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux/kerne

[PATCH 3/6] include/linux/a.out.h: use generic round_up_pow2() macro

2005-04-07 Thread Nick Wilson
From: Nick Wilson <[EMAIL PROTECTED]> Use the generic round_up_pow2() instead of a custom rounding method. Signed-off-by: Nick Wilson <[EMAIL PROTECTED]> --- a.out.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux/include/l

[PATCH 1/6] include/linux/kernel.h: use generic round_up_pow2() macro

2005-04-07 Thread Nick Wilson
From: Nick Wilson <[EMAIL PROTECTED]> Add a generic macro to kernel.h to round up to the next multiple of n. Signed-off-by: Nick Wilson <[EMAIL PROTECTED]> --- kernel.h |5 + 1 files changed, 5 insertions(+) Index: linux/include/li

[PATCH 2/6] include/linux/kernel.h: use generic round_up_pow2() macro

2005-04-07 Thread Nick Wilson
From: Nick Wilson <[EMAIL PROTECTED]> Use the generic round_up_pow2() instead of a custom rounding method. Signed-off-by: Nick Wilson <[EMAIL PROTECTED]> --- kernel.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux/include/li

[PATCH 0/6] add generic round_up_pow2() macro

2005-04-07 Thread Nick Wilson
Randy.Dunlap wrote: > >+#define ALIGN_DATA_SIZE(size) ((size + PAGE_SIZE - 1) & ~(PAGE_SIZE - > >1)) > > > ISTM that we need a generic round_up() function or macro i