mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute
Signed-off-by: Dave Kleikamp <[email protected]>
This commit is contained in:
parent
fa3241d24c
commit
4837c672fd
1 changed files with 4 additions and 4 deletions
|
|
@ -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 a new issue