From: Chuck Lever Subject: [PATCH 2/4] NFS: Fix up data types of fields in nfs_parsed_mount_options Date: Tue, 29 Jan 2008 19:13:18 -0500 Message-ID: <20080130001318.14637.69614.stgit@manray.1015granger.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Cc: linux-nfs@vger.kernel.org To: trond.myklebust@fys.uio.no, miklos@szeredi.hu Return-path: Received: from flpi102.sbcis.sbc.com ([207.115.20.71]:56748 "EHLO flpi102.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753541AbYA3ANa (ORCPT ); Tue, 29 Jan 2008 19:13:30 -0500 Sender: linux-nfs-owner@vger.kernel.org List-ID: Clean up: make data types of fields in nfs_parsed_mount_options more consistent with other uses. Signed-off-by: Chuck Lever --- fs/nfs/internal.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 0f56196..4769ed6 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -45,9 +45,9 @@ struct nfs_parsed_mount_data { struct sockaddr_storage address; size_t addrlen; char *hostname; - unsigned int version; + u32 version; unsigned short port; - int protocol; + unsigned short protocol; } mount_server; struct { @@ -55,7 +55,7 @@ struct nfs_parsed_mount_data { size_t addrlen; char *hostname; char *export_path; - int protocol; + unsigned short protocol; } nfs_server; };