nfsd: properly convert return from commit_metadata to __be32
authorJeff Layton <jlayton@primarydata.com>
Thu, 3 Jul 2014 11:54:19 +0000 (07:54 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 10 Jul 2014 00:55:02 +0000 (20:55 -0400)
commit722b620d1830fce69367b099ef6a83f41a4b9d72
tree534019b423e751a7c3510ac635f6b901fff5b74d
parent2dd6e458c3dc1ae598867130dc618eabbe7ccda5
nfsd: properly convert return from commit_metadata to __be32

Commit 2a7420c03e504 (nfsd: Ensure that nfsd_create_setattr commits
files to stable storage), added a couple of calls to commit_metadata,
but doesn't convert their return codes to __be32 in the appropriate
places.

Cc: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c