1. 23 7月, 2012 38 次提交
  2. 14 7月, 2012 2 次提交
    • D
      VFS: Split inode_permission() · 0bdaea90
      David Howells 提交于
      Split inode_permission() into inode- and superblock-dependent parts.
      
      This is aimed at unionmounts where the superblock from the upper layer has to
      be checked rather than the superblock from the lower layer as the upper layer
      may be writable, thus allowing an unwritable file from the lower layer to be
      copied up and modified.
      
      Original-author: Valerie Aurora <vaurora@redhat.com>
      Signed-off-by: David Howells <dhowells@redhat.com> (Further development)
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      0bdaea90
    • D
      VFS: Pass mount flags to sget() · 9249e17f
      David Howells 提交于
      Pass mount flags to sget() so that it can use them in initialising a new
      superblock before the set function is called.  They could also be passed to the
      compare function.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      9249e17f