diff options
Diffstat (limited to 'fs/udf/ialloc.c')
-rw-r--r-- | fs/udf/ialloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/udf/ialloc.c b/fs/udf/ialloc.c index f8e5872f7cc2..0adb40718a5d 100644 --- a/fs/udf/ialloc.c +++ b/fs/udf/ialloc.c | |||
@@ -118,6 +118,9 @@ struct inode *udf_new_inode(struct inode *dir, umode_t mode) | |||
118 | iinfo->i_lenAlloc = 0; | 118 | iinfo->i_lenAlloc = 0; |
119 | iinfo->i_use = 0; | 119 | iinfo->i_use = 0; |
120 | iinfo->i_checkpoint = 1; | 120 | iinfo->i_checkpoint = 1; |
121 | iinfo->i_extraPerms = FE_PERM_U_CHATTR; | ||
122 | udf_update_extra_perms(inode, mode); | ||
123 | |||
121 | if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_AD_IN_ICB)) | 124 | if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_AD_IN_ICB)) |
122 | iinfo->i_alloc_type = ICBTAG_FLAG_AD_IN_ICB; | 125 | iinfo->i_alloc_type = ICBTAG_FLAG_AD_IN_ICB; |
123 | else if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_SHORT_AD)) | 126 | else if (UDF_QUERY_FLAG(inode->i_sb, UDF_FLAG_USE_SHORT_AD)) |