[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1539937173-26260-4-git-send-email-fabf@skynet.be>
Date: Fri, 19 Oct 2018 10:19:29 +0200
From: Fabian Frederick <fabf@...net.be>
To: akpm@...ux-foundation.org
Cc: jaharkes@...cmu.edu, coda@...cmu.edu,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
fabf@...net.be
Subject: [PATCH 3/7 linux-next] coda: use SIZE() for stat
max_t expression was already defined in coda sources
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
fs/coda/upcall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c
index d0d0fed..1323793 100644
--- a/fs/coda/upcall.c
+++ b/fs/coda/upcall.c
@@ -553,7 +553,7 @@ int venus_statfs(struct dentry *dentry, struct kstatfs *sfs)
union outputArgs *outp;
int insize, outsize, error;
- insize = max_t(unsigned int, INSIZE(statfs), OUTSIZE(statfs));
+ insize = SIZE(statfs);
UPARG(CODA_STATFS);
error = coda_upcall(coda_vcp(dentry->d_sb), insize, &outsize, inp);
--
2.4.11
Powered by blists - more mailing lists