03 Nov, 2011

1 commit


19 Mar, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2:
    nilfs2: move NILFS_SUPER_MAGIC to linux/magic.h
    nilfs2: get rid of nilfs_sb_info structure
    nilfs2: use sb instance instead of nilfs_sb_info struct
    nilfs2: get rid of sc_sbi back pointer
    nilfs2: move log writer onto nilfs object
    nilfs2: move next generation counter into nilfs object
    nilfs2: move s_inode_lock and s_dirty_files into nilfs object
    nilfs2: move parameters on nilfs_sb_info into nilfs object
    nilfs2: move mount options to nilfs object
    nilfs2: record used amount of each checkpoint in checkpoint list
    nilfs2: optimize rec_len functions
    nilfs2: append blocksize info to warnings during loading super blocks
    nilfs2: add compat ioctl
    nilfs2: implement FS_IOC_GETFLAGS/SETFLAGS/GETVERSION
    nilfs2: tighten restrictions on inode flags
    nilfs2: mark S_NOATIME on inodes only if NOATIME attribute is set
    nilfs2: use common file attribute macros
    nilfs2: add free entries count only if clear bit operation succeeded
    nilfs2: decrement inodes count only if raw inode was successfully deleted

    Linus Torvalds
     

17 Mar, 2011

1 commit


10 Mar, 2011

1 commit


18 Jan, 2011

1 commit


29 Dec, 2010

1 commit

  • Some platforms have a small amount of non-volatile storage that
    can be used to store information useful to diagnose the cause of
    a system crash. This is the generic part of a file system interface
    that presents information from the crash as a series of files in
    /dev/pstore. Once the information has been seen, the underlying
    storage is freed by deleting the files.

    Signed-off-by: Tony Luck

    Tony Luck
     

28 Oct, 2010

1 commit

  • Use V9FS_MAGIC as the file system type while filling kernel statfs
    strucutre instead of using host file system magic number. Also move
    the definition of V9FS_MAGIC from v9fs.h to standard magic.h file.

    Signed-off-by: M. Mohan Kumar
    Signed-off-by: Venkateswararao Jujjuri
    Signed-off-by: Eric Van Hensbergen

    M. Mohan Kumar
     

19 Feb, 2010

1 commit


23 Sep, 2009

2 commits


12 Jun, 2009

1 commit


19 May, 2009

1 commit

  • The selinuxfs superblock magic is used inside the IMA code, but is being
    defined in two places and could someday get out of sync. This patch moves the
    declaration into magic.h so it is only done once.

    Signed-off-by: Eric Paris
    Signed-off-by: James Morris

    Eric Paris
     

21 Jan, 2009

1 commit


19 Jan, 2009

1 commit


16 Jan, 2009

1 commit


09 Jan, 2009

1 commit

  • The xenfs filesystem exports various interfaces to usermode. Initially
    this exports a file to allow usermode to interact with xenbus/xenstore.

    Traditionally this appeared in /proc/xen. Rather than extending procfs,
    this patch adds a backward-compat mountpoint on /proc/xen, and provides
    a xenfs filesystem which can be mounted there.

    Signed-off-by: Alex Zeffertt
    Signed-off-by: Jeremy Fitzhardinge
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alex Zeffertt
     

15 Oct, 2008

1 commit


13 Oct, 2008

1 commit

  • Discussion on the mailing list questioned the use of these
    magic values in userspace, concluding these values are already
    exported to userspace via statfs and their correct/incorrect
    usage is left up to the userspace application.

    - Move special fs magic number definitions to magic.h
    - Add magic.h include

    Signed-off-by: Mimi Zohar
    Reviewed-by: James Morris
    Signed-off-by: James Morris

    Mimi Zohar
     

26 May, 2008

1 commit

  • (Updated with a common max-stack-used checker that knows about
    the canary, as suggested by Joe Perches)

    Use a canary at the end of the stack to clearly indicate
    at oops time whether the stack has ever overflowed.

    This is a very simple implementation with a couple of
    drawbacks:

    1) a thread may legitimately use exactly up to the last
    word on the stack

    -- but the chances of doing this and then oopsing later seem slim

    2) it's possible that the stack usage isn't dense enough
    that the canary location could get skipped over

    -- but the worst that happens is that we don't flag the overrun
    -- though this happens fairly often in my testing :(

    With the code in place, an intentionally-bloated stack oops might
    do:

    BUG: unable to handle kernel paging request at ffff8103f84cc680
    IP: [] update_curr+0x9a/0xa8
    PGD 8063 PUD 0
    Thread overran stack or stack corrupted
    Oops: 0000 [1] SMP
    CPU 0
    ...

    ... unless the stack overrun is so bad that it corrupts some other
    thread.

    Signed-off-by: Eric Sandeen
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Eric Sandeen
     

20 Oct, 2007

1 commit

  • Generic Process Control Groups
    --------------------------

    There have recently been various proposals floating around for
    resource management/accounting and other task grouping subsystems in
    the kernel, including ResGroups, User BeanCounters, NSProxy
    cgroups, and others. These all need the basic abstraction of being
    able to group together multiple processes in an aggregate, in order to
    track/limit the resources permitted to those processes, or control
    other behaviour of the processes, and all implement this grouping in
    different ways.

    This patchset provides a framework for tracking and grouping processes
    into arbitrary "cgroups" and assigning arbitrary state to those
    groupings, in order to control the behaviour of the cgroup as an
    aggregate.

    The intention is that the various resource management and
    virtualization/cgroup efforts can also become task cgroup
    clients, with the result that:

    - the userspace APIs are (somewhat) normalised

    - it's easier to test e.g. the ResGroups CPU controller in
    conjunction with the BeanCounters memory controller, or use either of
    them as the resource-control portion of a virtual server system.

    - the additional kernel footprint of any of the competing resource
    management systems is substantially reduced, since it doesn't need
    to provide process grouping/containment, hence improving their
    chances of getting into the kernel

    This patch:

    Add the main task cgroups framework - the cgroup filesystem, and the
    basic structures for tracking membership and associating subsystem state
    objects to tasks.

    Signed-off-by: Paul Menage
    Cc: Serge E. Hallyn
    Cc: "Eric W. Biederman"
    Cc: Dave Hansen
    Cc: Balbir Singh
    Cc: Paul Jackson
    Cc: Kirill Korotaev
    Cc: Herbert Poetzl
    Cc: Srivatsa Vaddagiri
    Cc: Cedric Le Goater
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Menage
     

17 Oct, 2007

1 commit


16 Jul, 2007

1 commit


11 May, 2007

1 commit

  • This patch add an anonymous inode source, to be used for files that need
    and inode only in order to create a file*. We do not care of having an
    inode for each file, and we do not even care of having different names in
    the associated dentries (dentry names will be same for classes of file*).
    This allow code reuse, and will be used by epoll, signalfd and timerfd
    (and whatever else there'll be).

    Signed-off-by: Davide Libenzi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Davide Libenzi
     

04 Mar, 2007

1 commit


13 Feb, 2007

1 commit

  • This morning I needed to read a Minix V3 filesystem, but unfortunately my
    2.6.19 did not support that, and neither did the downloaded 2.6.20rc4.

    Fortunately, google told me that Daniel Aragones had already done the work,
    patch found at http://www.terra.es/personal2/danarag/

    Unfortunaly, looking at the patch was painful to my eyes, so I polished it
    a bit before applying. The resulting kernel boots, and reads the
    filesystem it needed to read.

    Signed-off-by: Daniel Aragones
    Signed-off-by: Andries Brouwer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andries Brouwer
     

06 Jan, 2007

1 commit

  • Jeffrey Altman, one of the gatekeepers of OpenAFS (the open source project
    which inherited the Transarc/IBM AFS codebase) has requested that the magic
    number 0x5346414F (little endian 'OAFS') be allocated for the f_type field
    of the fsinfo structure on Linux:

    https://lists.openafs.org/pipermail/openafs-info/2006-December/024829.html

    Add it to include/linux/magic.h, mostly as a way of publishing this number
    and ensuring that no other filesystem accidentally uses it.

    Cc: Jeffrey Altman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adam Megacz
     

12 Oct, 2006

1 commit


24 Sep, 2006

1 commit