1. 12 May, 2016 1 commit
    • Al Viro's avatar
      gfs2: Switch to generic xattr handlers · 1a39ba99
      Al Viro authored
      Switch to the generic xattr handlers and take the necessary glocks at
      the layer below. The following are the new xattr "entry points"; they
      are called with the glock held already in the following cases:
      
        gfs2_xattr_get: From SELinux, during lookups.
        gfs2_xattr_set: The glock is never held.
        gfs2_get_acl: From gfs2_create_inode -> posix_acl_create and
                      gfs2_setattr -> posix_acl_chmod.
        gfs2_set_acl: From gfs2_setattr -> posix_acl_chmod.
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      1a39ba99
  2. 06 Dec, 2015 1 commit
  3. 19 Mar, 2014 1 commit
  4. 25 Jan, 2014 1 commit
  5. 25 Jul, 2011 1 commit
  6. 19 Jul, 2011 1 commit
  7. 06 Jan, 2011 1 commit
  8. 21 May, 2010 1 commit
  9. 03 Dec, 2009 2 commits
    • Steven Whitehouse's avatar
      GFS2: Clean up ACLs · 479c427d
      Steven Whitehouse authored
      To prepare for support for caching of ACLs, this cleans up the GFS2
      ACL support by pushing the xattr code back into xattr.c and changing
      the acl_get function into one which only returns ACLs so that we
      can drop the caching function into it shortly.
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      479c427d
    • Steven Whitehouse's avatar
      GFS2: Fix up system xattrs · 2646a1f6
      Steven Whitehouse authored
      This code has been shamelessly stolen from XFS at the suggestion
      of Christoph Hellwig. I've not added support for cached ACLs so
      far... watch for that in a later patch, although this is designed
      in such a way that they should be easy to add.
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      2646a1f6
  10. 30 Nov, 2006 1 commit
  11. 05 Sep, 2006 1 commit
  12. 01 Sep, 2006 1 commit
    • Steven Whitehouse's avatar
      [GFS2] Update copyright, tidy up incore.h · e9fc2aa0
      Steven Whitehouse authored
      As per comments from Jan Engelhardt <jengelh@linux01.gwdg.de> this
      updates the copyright message to say "version" in full rather than
      "v.2". Also incore.h has been updated to remove forward structure
      declarations which are not required.
      
      The gfs2_quota_lvb structure has now had endianess annotations added
      to it. Also quota.c has been updated so that we now store the
      lvb data locally in endian independant format to avoid needing
      a structure in host endianess too. As a result the endianess
      conversions are done as required at various points and thus the
      conversion routines in lvb.[ch] are no longer required. I've
      moved the one remaining constant in lvb.h thats used into lm.h
      and removed the unused lvb.[ch].
      
      I have not changed the HIF_ constants. That is left to a later patch
      which I hope will unify the gh_flags and gh_iflags fields of the
      struct gfs2_holder.
      
      Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      e9fc2aa0
  13. 18 May, 2006 1 commit
  14. 16 Jan, 2006 1 commit