aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/reiserfs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c
index 9623cfe2371c..75d3706734ec 100644
--- a/fs/reiserfs/xattr.c
+++ b/fs/reiserfs/xattr.c
@@ -495,7 +495,7 @@ reiserfs_xattr_set_handle(struct reiserfs_transaction_handle *th,
495 return PTR_ERR(dentry); 495 return PTR_ERR(dentry);
496 } 496 }
497 497
498 down_read(&REISERFS_I(inode)->i_xattr_sem); 498 down_write(&REISERFS_I(inode)->i_xattr_sem);
499 499
500 reiserfs_write_lock(inode->i_sb); 500 reiserfs_write_lock(inode->i_sb);
501 501