1. 04 1月, 2012 7 次提交
  2. 04 3月, 2010 2 次提交
    • V
      VFS: Clean up shared mount flag propagation · 495d6c9c
      Valerie Aurora 提交于
      The handling of mount flags in set_mnt_shared() got a little tangled
      up during previous cleanups, with the following problems:
      
      * MNT_PNODE_MASK is defined as a literal constant when it should be a
      bitwise xor of other MNT_* flags
      * set_mnt_shared() clears and then sets MNT_SHARED (part of MNT_PNODE_MASK)
      * MNT_PNODE_MASK could use a comment in mount.h
      * MNT_PNODE_MASK is a terrible name, change to MNT_SHARED_MASK
      
      This patch fixes these problems.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      495d6c9c
    • A
      Kill CL_PROPAGATION, sanitize fs/pnode.c:get_source() · 796a6b52
      Al Viro 提交于
      First of all, get_source() never results in CL_PROPAGATION
      alone.  We either get CL_MAKE_SHARED (for the continuation
      of peer group) or CL_SLAVE (slave that is not shared) or both
      (beginning of peer group among slaves).  Massage the code to
      make that explicit, kill CL_PROPAGATION test in clone_mnt()
      (nothing sets CL_MAKE_SHARED without CL_PROPAGATION and in
      clone_mnt() we are checking CL_PROPAGATION after we'd found
      that there's no CL_SLAVE, so the check for CL_MAKE_SHARED
      would do just as well).
      
      Fix comments, while we are at it...
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      796a6b52
  3. 23 4月, 2008 1 次提交
  4. 22 4月, 2008 1 次提交
  5. 21 10月, 2007 1 次提交
  6. 09 12月, 2006 1 次提交
  7. 08 11月, 2005 6 次提交