inode.c (2f221d6f7b881d95de1f356a3097d755ab1e47d4) | inode.c (0d56a4518d5eaf595a24ab2202e171330bb2ed72) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/hfsplus/inode.c 4 * 5 * Copyright (C) 2001 6 * Brad Boyer (flar@allandria.com) 7 * (C) 2003 Ardis Technologies <roman@ardistech.com> 8 * --- 272 unchanged lines hidden (view full) --- 281 if (inode->i_flags & S_IMMUTABLE) 282 stat->attributes |= STATX_ATTR_IMMUTABLE; 283 if (hip->userflags & HFSPLUS_FLG_NODUMP) 284 stat->attributes |= STATX_ATTR_NODUMP; 285 286 stat->attributes_mask |= STATX_ATTR_APPEND | STATX_ATTR_IMMUTABLE | 287 STATX_ATTR_NODUMP; 288 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/hfsplus/inode.c 4 * 5 * Copyright (C) 2001 6 * Brad Boyer (flar@allandria.com) 7 * (C) 2003 Ardis Technologies <roman@ardistech.com> 8 * --- 272 unchanged lines hidden (view full) --- 281 if (inode->i_flags & S_IMMUTABLE) 282 stat->attributes |= STATX_ATTR_IMMUTABLE; 283 if (hip->userflags & HFSPLUS_FLG_NODUMP) 284 stat->attributes |= STATX_ATTR_NODUMP; 285 286 stat->attributes_mask |= STATX_ATTR_APPEND | STATX_ATTR_IMMUTABLE | 287 STATX_ATTR_NODUMP; 288 |
289 generic_fillattr(inode, stat); | 289 generic_fillattr(&init_user_ns, inode, stat); |
290 return 0; 291} 292 293int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, 294 int datasync) 295{ 296 struct inode *inode = file->f_mapping->host; 297 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); --- 331 unchanged lines hidden --- | 290 return 0; 291} 292 293int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, 294 int datasync) 295{ 296 struct inode *inode = file->f_mapping->host; 297 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); --- 331 unchanged lines hidden --- |