projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa3241d
)
JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute
author
Dave Kleikamp
<shaggy@austin.ibm.com>
Fri, 10 Feb 2006 14:11:53 +0000
(08:11 -0600)
committer
Dave Kleikamp
<shaggy@austin.ibm.com>
Fri, 10 Feb 2006 14:11:53 +0000
(08:11 -0600)
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jfs/jfs_inode.c
b/fs/jfs/jfs_inode.c
index ae2772cba2d130fb5b017760304217c9fd05c53c..ffd2a8a007871872dff7b20510dc274046aed5bf 100644
(file)
--- 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)
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;