diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-16 13:11:23 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-16 13:11:23 -0400 |
commit | a6aae4dd0ffad299a33d122f8a339b399bee5381 (patch) | |
tree | 958b015be27d97d079a3c14694576571ca916600 /fs/ubifs/xattr.c | |
parent | f70b7e52aa23c9aea5346b9730b402fb55f9079b (diff) |
UBIFS: get rid of dbg_err
This patch removes the 'dbg_err()' macro and we now use 'ubifs_err()' instead.
The idea of 'dbg_err()' was to compile out some error message to make the
binary a bit smaller - but I think it was a bad idea.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/xattr.c')
-rw-r--r-- | fs/ubifs/xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c index 85b272268754..fd4ac85c5db3 100644 --- a/fs/ubifs/xattr.c +++ b/fs/ubifs/xattr.c | |||
@@ -399,8 +399,8 @@ ssize_t ubifs_getxattr(struct dentry *dentry, const char *name, void *buf, | |||
399 | if (buf) { | 399 | if (buf) { |
400 | /* If @buf is %NULL we are supposed to return the length */ | 400 | /* If @buf is %NULL we are supposed to return the length */ |
401 | if (ui->data_len > size) { | 401 | if (ui->data_len > size) { |
402 | dbg_err("buffer size %zd, xattr len %d", | 402 | ubifs_err("buffer size %zd, xattr len %d", |
403 | size, ui->data_len); | 403 | size, ui->data_len); |
404 | err = -ERANGE; | 404 | err = -ERANGE; |
405 | goto out_iput; | 405 | goto out_iput; |
406 | } | 406 | } |