xfs_qm.c (715a1284d89a740b197b3bad5eb20d36a397382f) | xfs_qm.c (f736d93d76d3e97d6986c6d26c8eaa32536ccc5c) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 773 unchanged lines hidden (view full) --- 782 783 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_create, 784 need_alloc ? XFS_QM_QINOCREATE_SPACE_RES(mp) : 0, 785 0, 0, &tp); 786 if (error) 787 return error; 788 789 if (need_alloc) { | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 773 unchanged lines hidden (view full) --- 782 783 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_create, 784 need_alloc ? XFS_QM_QINOCREATE_SPACE_RES(mp) : 0, 785 0, 0, &tp); 786 if (error) 787 return error; 788 789 if (need_alloc) { |
790 error = xfs_dir_ialloc(&tp, NULL, S_IFREG, 1, 0, 0, ipp); | 790 error = xfs_dir_ialloc(&init_user_ns, &tp, NULL, S_IFREG, 1, 0, 791 0, ipp); |
791 if (error) { 792 xfs_trans_cancel(tp); 793 return error; 794 } 795 } 796 797 /* 798 * Make the changes in the superblock, and log those too. --- 1157 unchanged lines hidden --- | 792 if (error) { 793 xfs_trans_cancel(tp); 794 return error; 795 } 796 } 797 798 /* 799 * Make the changes in the superblock, and log those too. --- 1157 unchanged lines hidden --- |