Commit 4837c672 authored by Dave Kleikamp's avatar Dave Kleikamp

JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute

Signed-off-by: default avatarDave Kleikamp <shaggy@austin.ibm.com>
parent fa3241d2
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment