diff options
-rw-r--r-- | fs/jfs/jfs_inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/jfs/jfs_inode.c b/fs/jfs/jfs_inode.c index ae2772cba2d1..ffd2a8a00787 100644 --- a/fs/jfs/jfs_inode.c +++ b/fs/jfs/jfs_inode.c | |||
@@ -101,11 +101,11 @@ struct inode *ialloc(struct inode *parent, umode_t mode) | |||
101 | jfs_inode->mode2 |= IDIRECTORY; | 101 | jfs_inode->mode2 |= IDIRECTORY; |
102 | jfs_inode->mode2 &= ~JFS_DIRSYNC_FL; | 102 | jfs_inode->mode2 &= ~JFS_DIRSYNC_FL; |
103 | } | 103 | } |
104 | else if (S_ISLNK(mode)) | 104 | else { |
105 | jfs_inode->mode2 &= | ||
106 | ~(JFS_IMMUTABLE_FL|JFS_APPEND_FL); | ||
107 | else | ||
108 | jfs_inode->mode2 |= INLINEEA | ISPARSE; | 105 | jfs_inode->mode2 |= INLINEEA | ISPARSE; |
106 | if (S_ISLNK(mode)) | ||
107 | jfs_inode->mode2 &= ~(JFS_IMMUTABLE_FL|JFS_APPEND_FL); | ||
108 | } | ||
109 | jfs_inode->mode2 |= mode; | 109 | jfs_inode->mode2 |= mode; |
110 | 110 | ||
111 | inode->i_blksize = sb->s_blocksize; | 111 | inode->i_blksize = sb->s_blocksize; |