Re: [patch 24/26] mount options: fix tmpfs

2008-01-29 Thread Hugh Dickins
On Mon, 28 Jan 2008, Miklos Szeredi wrote: > > I'll add functions for calculating the default max values, so the > calculations won't accidentally become different for the > initialization and the option showing. Excellent. > > If you agree with the version below, please take it into your collec

Re: [patch 24/26] mount options: fix tmpfs

2008-01-28 Thread Miklos Szeredi
> > Thanks Miklos, that's a welcome enhancement, nicely done. I've only > noticed one thing wrong (MPOL_PREFERRED shown as "default"); but thought > shmem_config didn't add much value - I'd rather avoid those syntactic > changes to unchanged code; and several tmpfs defaults being relative > (e.g.

Re: [patch 24/26] mount options: fix tmpfs

2008-01-27 Thread Hugh Dickins
On Thu, 24 Jan 2008, Miklos Szeredi wrote: > Thanks Miklos, that's a welcome enhancement, nicely done. I've only noticed one thing wrong (MPOL_PREFERRED shown as "default"); but thought shmem_config didn't add much value - I'd rather avoid those syntactic changes to unchanged code; and several tm

[patch 24/26] mount options: fix tmpfs

2008-01-24 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Add .show_options super operation to tmpfs. Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]> --- Index: linux/mm/shmem.c === --- linux.orig/mm/shmem.c 2008-01-21 21:20:04.0 +01