diff options
author | Rock Lee <rli@sierrawireless.com> | 2018-01-10 21:08:24 -0500 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-01-18 00:18:49 +0100 |
commit | b3e73839379327ee21240ac48ea9a2eaf7613d79 (patch) | |
tree | 838b354e6fff22c911f14f112fd46f309d100dd4 /fs/ubifs | |
parent | f78e5623f45bab2b726eec29dc5cefbbab2d0b1c (diff) | |
download | linux-stable-b3e73839379327ee21240ac48ea9a2eaf7613d79.tar.gz linux-stable-b3e73839379327ee21240ac48ea9a2eaf7613d79.tar.bz2 linux-stable-b3e73839379327ee21240ac48ea9a2eaf7613d79.zip |
ubifs: remove error message in ubifs_xattr_get
There is a situation that other modules, like overlayfs, try to get
xattr value with a small buffer, if they get -ERANGE, they will try
again with the proper buffer size. No need to report an error.
Signed-off-by: Rock Lee <rli@sierrawireless.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/xattr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c index 5ddc89d564fd..759f1a209dbb 100644 --- a/fs/ubifs/xattr.c +++ b/fs/ubifs/xattr.c @@ -381,8 +381,6 @@ ssize_t ubifs_xattr_get(struct inode *host, const char *name, void *buf, if (buf) { /* If @buf is %NULL we are supposed to return the length */ if (ui->data_len > size) { - ubifs_err(c, "buffer size %zd, xattr len %d", - size, ui->data_len); err = -ERANGE; goto out_iput; } |