[Top] [All Lists]

[PATCH v3 0/4] xfs: tmpfile fixes

To: xfs@xxxxxxxxxxx
Subject: [PATCH v3 0/4] xfs: tmpfile fixes
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Tue, 15 Apr 2014 12:18:22 -0400
Delivered-to: xfs@xxxxxxxxxxx
Hi all,

Here's a v3 series for the patches previously posted here:


Patches 1 and 2 are just a split-up of the v1 patch:


Note the v1 patch has a reviewed-by, so feel free to drop 1 and 2 here
in favor of that version. Patches 3 and 4 are a couple cleanups in the
xfs_create() path.

Setting the default ACL is dropped until it is determined how that
should be handled for tmpfile(). This means the xfs_iops.c refactor bits
have been dropped as well.


- Split up the deadlock fix and inode security initialization into
  separate patches. [hch]
- Dropped the default ACL and associated refactor bits for now. [hch]
- Split the xfs_create() tres and xfs_create_tmpfile() cleanups into
  separate patches. [hch]
- Added a generic create helper to inherit the security/acl init. code
  in the tmpfile path.
- Added patch 2 to fold xfs_create_tmpfile() into xfs_create().

Brian Foster (4):
  xfs: fix tmpfile/selinux ilock deadlock
  xfs: initialize inode security on tmpfile creation
  xfs: replace on-stack xfs_trans_res with pointer in xfs_create()
  xfs: fold xfs_create_tmpfile() into xfs_create()

 fs/xfs/xfs_inode.c | 193 +++++++++++++----------------------------------------
 fs/xfs/xfs_inode.h |   2 -
 fs/xfs/xfs_iops.c  |  20 +++++-
 fs/xfs/xfs_trace.h |   7 +-
 4 files changed, 69 insertions(+), 153 deletions(-)


<Prev in Thread] Current Thread [Next in Thread>