From: Mark Huang Date: Tue, 23 Nov 2004 15:08:03 +0000 (+0000) Subject: - make sure that all extended attributes are passed properly to the X-Git-Tag: before-enable-kexec-patch~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=233d18cc715784f4f9c10e9dc70b19b789e03d08;p=linux-2.6.git - make sure that all extended attributes are passed properly to the inode structure --- diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 1ef02bccb..fe9c6a13b 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c @@ -1030,7 +1030,7 @@ void ext2_set_inode_flags(struct inode *inode) { unsigned int flags = EXT2_I(inode)->i_flags; - inode->i_flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC); + inode->i_flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_IUNLINK|S_BARRIER|S_NOATIME|S_DIRSYNC); if (flags & EXT2_SYNC_FL) inode->i_flags |= S_SYNC; if (flags & EXT2_APPEND_FL) diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index 962aef215..7bc33d5f5 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c @@ -2474,7 +2474,7 @@ void ext3_set_inode_flags(struct inode *inode) { unsigned int flags = EXT3_I(inode)->i_flags; - inode->i_flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC); + inode->i_flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_IUNLINK|S_BARRIER|S_NOATIME|S_DIRSYNC); if (flags & EXT3_SYNC_FL) inode->i_flags |= S_SYNC; if (flags & EXT3_APPEND_FL)