mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 09:51:00 +07:00
coda: use SIZE() for stat
max_t expression was already defined in coda sources Link: http://lkml.kernel.org/r/e6cda497ce8691db155cb35f8d13ea44ca6cedeb.1558117389.git.jaharkes@cs.cmu.edu Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Colin Ian King <colin.king@canonical.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Cc: David Howells <dhowells@redhat.com> Cc: Mikko Rapeli <mikko.rapeli@iki.fi> Cc: Sam Protsenko <semen.protsenko@linaro.org> Cc: Yann Droneaud <ydroneaud@opteya.com> Cc: Zhouyang Jia <jiazhouyang09@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
79a0d65e77
commit
50e9a6efb0
@ -553,7 +553,7 @@ int venus_statfs(struct dentry *dentry, struct kstatfs *sfs)
|
|||||||
union outputArgs *outp;
|
union outputArgs *outp;
|
||||||
int insize, outsize, error;
|
int insize, outsize, error;
|
||||||
|
|
||||||
insize = max_t(unsigned int, INSIZE(statfs), OUTSIZE(statfs));
|
insize = SIZE(statfs);
|
||||||
UPARG(CODA_STATFS);
|
UPARG(CODA_STATFS);
|
||||||
|
|
||||||
error = coda_upcall(coda_vcp(dentry->d_sb), insize, &outsize, inp);
|
error = coda_upcall(coda_vcp(dentry->d_sb), insize, &outsize, inp);
|
||||||
|
Loading…
Reference in New Issue
Block a user