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

Commit 341e262f authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

UBIFS: do not change debugfs file position



This patch is a tiny improvement which removes few bytes of code.
UBIFS debugfs files are non-seekable and the file position is ignored,
so do not increase it in the write handler.

Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent 1321657d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2828,7 +2828,6 @@ static ssize_t write_debugfs_file(struct file *file, const char __user *buf,
	} else
		return -EINVAL;

	*ppos += count;
	return count;
}