mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 17:06:26 +07:00
JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
This commit is contained in:
parent
fa3241d24c
commit
4837c672fd
@ -101,11 +101,11 @@ struct inode *ialloc(struct inode *parent, umode_t mode)
|
||||
jfs_inode->mode2 |= IDIRECTORY;
|
||||
jfs_inode->mode2 &= ~JFS_DIRSYNC_FL;
|
||||
}
|
||||
else if (S_ISLNK(mode))
|
||||
jfs_inode->mode2 &=
|
||||
~(JFS_IMMUTABLE_FL|JFS_APPEND_FL);
|
||||
else
|
||||
else {
|
||||
jfs_inode->mode2 |= INLINEEA | ISPARSE;
|
||||
if (S_ISLNK(mode))
|
||||
jfs_inode->mode2 &= ~(JFS_IMMUTABLE_FL|JFS_APPEND_FL);
|
||||
}
|
||||
jfs_inode->mode2 |= mode;
|
||||
|
||||
inode->i_blksize = sb->s_blocksize;
|
||||
|
Loading…
Reference in New Issue
Block a user