Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3e73839 authored by Rock Lee's avatar Rock Lee Committed by Richard Weinberger
Browse files

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: default avatarRock Lee <rli@sierrawireless.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent f78e5623
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
		}