hostfs: fix mismatch between link_file definition and declaration
authorColin Ian King <colin.king@canonical.com>
Sun, 17 Mar 2019 23:09:09 +0000 (23:09 +0000)
committerRichard Weinberger <richard@nod.at>
Tue, 7 May 2019 21:18:28 +0000 (23:18 +0200)
commit91e1e547abcd88f1e23204e62e377aaa7c93a786
tree7a9d5e3edd80f49edc842e6bf27f2c397a83e6e1
parent75f24f78721048a271e2e50a563f51bcfd6f5c1c
hostfs: fix mismatch between link_file definition and declaration

The function link_file declaration in the header file has the order
of the two arguments (from, to) swapped when compared to the definition
arguments of (to, from).  Fix this by swapping them around to match
the definition.

This error predates the git history, so no idea when this error
was introduced.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/hostfs/hostfs.h