[PATCH 0/5] Pass xattr handler to xattr handler operations

Andreas Gruenbacher andreas.gruenbacher at gmail.com
Fri Sep 4 04:57:17 PDT 2015


Here are some xattr cleanups centered around passing struct xattr_handler down
to the xattr handler operations.  Please review.

Thanks,
Andreas

Andreas Gruenbacher (5):
  ubifs: Remove unused "security.*" xattr handler
  hfsplus: Remove unused xattr handler list operations
  9p: Simplify the xattr handlers
  xattr handlers: Pass handler to operations instead of flags
  xattr handlers: Some simplifications

 fs/9p/Makefile               |  5 +--
 fs/9p/acl.c                  | 59 ++++++--------------------------
 fs/9p/xattr.c                | 42 +++++++++++++++++++++++
 fs/9p/xattr.h                |  3 --
 fs/9p/xattr_security.c       | 80 -------------------------------------------
 fs/9p/xattr_trusted.c        | 80 -------------------------------------------
 fs/9p/xattr_user.c           | 80 -------------------------------------------
 fs/ext2/xattr.c              |  2 +-
 fs/ext2/xattr_security.c     |  9 +++--
 fs/ext2/xattr_trusted.c      |  9 +++--
 fs/ext2/xattr_user.c         |  9 +++--
 fs/ext4/xattr.c              |  2 +-
 fs/ext4/xattr_security.c     |  9 +++--
 fs/ext4/xattr_trusted.c      |  9 +++--
 fs/ext4/xattr_user.c         |  9 +++--
 fs/f2fs/xattr.c              | 46 ++++++++++++-------------
 fs/gfs2/xattr.c              |  9 +++--
 fs/hfsplus/xattr.c           | 17 +++-------
 fs/hfsplus/xattr_security.c  | 17 +++-------
 fs/hfsplus/xattr_trusted.c   | 17 +++-------
 fs/hfsplus/xattr_user.c      | 17 +++-------
 fs/jffs2/security.c          |  9 +++--
 fs/jffs2/xattr.c             |  4 +--
 fs/jffs2/xattr_trusted.c     |  8 +++--
 fs/jffs2/xattr_user.c        |  9 +++--
 fs/nfs/nfs4proc.c            | 18 ++++++----
 fs/ocfs2/xattr.c             | 27 ++++++++++-----
 fs/posix_acl.c               | 22 ++++++------
 fs/reiserfs/xattr.c          | 11 +++---
 fs/reiserfs/xattr_security.c |  8 +++--
 fs/reiserfs/xattr_trusted.c  |  8 +++--
 fs/reiserfs/xattr_user.c     |  8 +++--
 fs/squashfs/xattr.c          | 81 ++++++++++++++++----------------------------
 fs/ubifs/super.c             |  1 -
 fs/ubifs/ubifs.h             |  1 -
 fs/ubifs/xattr.c             | 40 ----------------------
 fs/xattr.c                   | 10 +++---
 fs/xfs/xfs_xattr.c           |  8 +++--
 include/linux/xattr.h        |  9 ++---
 39 files changed, 259 insertions(+), 553 deletions(-)
 delete mode 100644 fs/9p/xattr_security.c
 delete mode 100644 fs/9p/xattr_trusted.c
 delete mode 100644 fs/9p/xattr_user.c

-- 
2.4.3




More information about the linux-mtd mailing list