diff options
Diffstat (limited to 'fs/reiserfs/xattr.c')
-rw-r--r-- | fs/reiserfs/xattr.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c index d14f5c2c0e4a..bab77fe5f177 100644 --- a/fs/reiserfs/xattr.c +++ b/fs/reiserfs/xattr.c | |||
@@ -259,8 +259,8 @@ static int __xattr_readdir(struct inode *inode, void *dirent, filldir_t filldir) | |||
259 | ih = de.de_ih; | 259 | ih = de.de_ih; |
260 | 260 | ||
261 | if (!is_direntry_le_ih(ih)) { | 261 | if (!is_direntry_le_ih(ih)) { |
262 | reiserfs_warning(inode->i_sb, "jdm-20000", | 262 | reiserfs_error(inode->i_sb, "jdm-20000", |
263 | "not direntry %h", ih); | 263 | "not direntry %h", ih); |
264 | break; | 264 | break; |
265 | } | 265 | } |
266 | copy_item_head(&tmp_ih, ih); | 266 | copy_item_head(&tmp_ih, ih); |
@@ -653,15 +653,14 @@ __reiserfs_xattr_del(struct dentry *xadir, const char *name, int namelen) | |||
653 | goto out_file; | 653 | goto out_file; |
654 | 654 | ||
655 | if (!is_reiserfs_priv_object(dentry->d_inode)) { | 655 | if (!is_reiserfs_priv_object(dentry->d_inode)) { |
656 | reiserfs_warning(dir->i_sb, "jdm-20003", | 656 | reiserfs_error(dir->i_sb, "jdm-20003", |
657 | "OID %08x [%.*s/%.*s] doesn't have " | 657 | "OID %08x [%.*s/%.*s] doesn't have " |
658 | "priv flag set [parent is %sset].", | 658 | "priv flag set [parent is %sset].", |
659 | le32_to_cpu(INODE_PKEY(dentry->d_inode)-> | 659 | le32_to_cpu(INODE_PKEY(dentry->d_inode)-> |
660 | k_objectid), xadir->d_name.len, | 660 | k_objectid), xadir->d_name.len, |
661 | xadir->d_name.name, namelen, name, | 661 | xadir->d_name.name, namelen, name, |
662 | is_reiserfs_priv_object(xadir-> | 662 | is_reiserfs_priv_object(xadir->d_inode) ? "" : |
663 | d_inode) ? "" : | 663 | "not "); |
664 | "not "); | ||
665 | dput(dentry); | 664 | dput(dentry); |
666 | return -EIO; | 665 | return -EIO; |
667 | } | 666 | } |