1. 25 6月, 2014 1 次提交
  2. 07 2月, 2014 1 次提交
  3. 07 1月, 2014 1 次提交
    • Z
      xfs: add O_TMPFILE support · 99b6436b
      Zhi Yong Wu 提交于
      Add two functions xfs_create_tmpfile() and xfs_vn_tmpfile()
      to support O_TMPFILE file creation.
      
      In contrast to xfs_create(), xfs_create_tmpfile() has a different
      log reservation to the regular file creation because there is no
      directory modification, and doesn't check if an entry can be added
      to the directory, but the reservation quotas is required appropriately,
      and finally its inode is added to the unlinked list.
      
      xfs_vn_tmpfile() add one O_TMPFILE method to VFS interface and directly
      invoke xfs_create_tmpfile().
      Signed-off-by: NZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
      Reviewed-by: NDave Chinner <dchinner@redhat.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NBen Myers <bpm@sgi.com>
      99b6436b
  4. 13 8月, 2013 6 次提交