On Tue, Feb 19, 2008 at 05:04:36AM +0100, Arnd Bergmann wrote:
+ char buf[3];
+ u32 *val = file-private_data;
+
+ if (*val)
+ buf[0] = 'Y';
+ else
+ buf[0] = 'N';
+ buf[1] = '\n';
+ buf[2] = 0x00;
+ return
On Tue, Feb 19, 2008 at 05:04:37AM +0100, Arnd Bergmann wrote:
There is a number of pseudo file systems in the kernel
that are basically copies of debugfs, all implementing the
same boilerplate code, just with different bugs.
This adds yet another copy to the kernel in the libfs directory,
On Tue, Feb 19, 2008 at 05:04:36AM +0100, Arnd Bergmann wrote:
The file operations in debugfs are rather generic and can
be used by other file systems, so it can be interesting to
include them in libfs, with more generic names, and exported
to modules.
This patch adds a new copy of these
On Tue, Feb 19, 2008 at 05:04:38AM +0100, Arnd Bergmann wrote:
With most of debugfs now copied to generic code in libfs,
we can remove the original copy and replace it with thin
wrappers around libfs.
Signed-off-by: Arnd Bergmann [EMAIL PROTECTED]
Index: linux-2.6/fs/Kconfig
On Mon, Feb 18, 2008 at 12:47:59PM +0100, Miklos Szeredi wrote:
So what should I do?
Would Al be wanting to merge this into his VFS tree? (Can't find it
on git.kernel.org yet, BTW.)
FWIW, it's on hera right now, should propagate to git.kernel.org in a few.
Branches I'd pushed there:
On Sat, Feb 23, 2008 at 06:33:13PM +0100, Miklos Szeredi wrote:
c) just what is limited by that sysctl? AFAICS, rbind is allowed
if mountpoint is on user vfsmount and it seems to create vfsmounts without
eating into that limit just fine... What's the point of limiting the
amount of
On Sat, Feb 23, 2008 at 06:33:13PM +0100, Miklos Szeredi wrote:
c) just what is limited by that sysctl? AFAICS, rbind is allowed
if mountpoint is on user vfsmount and it seems to create vfsmounts without
eating into that limit just fine... What's the point of limiting the
amount
On Sat, 23 Feb 2008, Al Viro wrote:
On Tue, Feb 19, 2008 at 05:04:38AM +0100, Arnd Bergmann wrote:
With most of debugfs now copied to generic code in libfs,
we can remove the original copy and replace it with thin
wrappers around libfs.
Signed-off-by: Arnd Bergmann [EMAIL PROTECTED]
On Fri, 15 Feb 2008 16:47:19 -0800 Christoph Lameter [EMAIL PROTECTED] wrote:
V2-V3:
- Use mapping instead of a as the address space parameter
We use the macros PAGE_CACHE_SIZE PAGE_CACHE_SHIFT PAGE_CACHE_MASK
and PAGE_CACHE_ALIGN in various places in the kernel. Many times
common