aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/xattr.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-01-25 04:41:31 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-25 04:41:31 -0800
commita1364167f67b2043c9c322f255baa293b7763cda (patch)
tree43bb41bf492beef9a2e8ee133f41c8f3e0444160 /fs/ext3/xattr.c
parentdd78b6a45eb54e391c56893092f26a4670559dde (diff)
downloadhistory-a1364167f67b2043c9c322f255baa293b7763cda.tar.gz
[PATCH] ext3/ea: set the EXT3_FEATURE_COMPAT_EXT_ATTR for in-inode xattrs
The xattr feature was only set when creating an xattr block. Also set it when creating in-inode xattrs. Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext3/xattr.c')
-rw-r--r--fs/ext3/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/xattr.c b/fs/ext3/xattr.c
index de38ff7645f662..67e65b132f318a 100644
--- a/fs/ext3/xattr.c
+++ b/fs/ext3/xattr.c
@@ -823,7 +823,6 @@ getblk_failed:
error = ext3_journal_dirty_metadata(handle, new_bh);
if (error)
goto cleanup;
- ext3_xattr_update_super_block(handle, sb);
}
}
@@ -1001,6 +1000,7 @@ ext3_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index,
}
}
if (!error) {
+ ext3_xattr_update_super_block(handle, inode->i_sb);
inode->i_ctime = CURRENT_TIME_SEC;
error = ext3_mark_iloc_dirty(handle, inode, &is.iloc);
/*