From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: bfields@fieldses.org, linux-nfs@vger.kernel.org
Subject: Re: [PATCH 1/8] NFS: nfs_parsed_mount_options can use unsigned int
Date: Tue, 23 Sep 2008 15:42:21 -0400 [thread overview]
Message-ID: <1222198941.7799.46.camel@localhost> (raw)
In-Reply-To: <20080813223937.13068.47032.stgit-meopP2rzCrTwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
On Wed, 2008-08-13 at 18:39 -0400, Chuck Lever wrote:
> Eliminate mixed sign comparisons in nfs_compare_remount_options().
>
> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
We really don't care about the sign, since we're always going to be
comparing for equality in nfs_compare_remount_options().
Cheers
Trond
> ---
>
> fs/nfs/internal.h | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
> index 24241fc..275a692 100644
> --- a/fs/nfs/internal.h
> +++ b/fs/nfs/internal.h
> @@ -32,11 +32,11 @@ struct nfs_clone_mount {
> */
> struct nfs_parsed_mount_data {
> int flags;
> - int rsize, wsize;
> - int timeo, retrans;
> - int acregmin, acregmax,
> + unsigned int rsize, wsize;
> + unsigned int timeo, retrans;
> + unsigned int acregmin, acregmax,
> acdirmin, acdirmax;
> - int namlen;
> + unsigned int namlen;
> unsigned int bsize;
> unsigned int auth_flavor_len;
> rpc_authflavor_t auth_flavors[1];
>
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
next prev parent reply other threads:[~2008-09-23 19:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-13 22:39 [PATCH 0/8] Support rpcbind v4 in kernel's RPC server Chuck Lever
[not found] ` <20080813223653.13068.9467.stgit-meopP2rzCrTwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2008-08-13 22:39 ` [PATCH 1/8] NFS: nfs_parsed_mount_options can use unsigned int Chuck Lever
[not found] ` <20080813223937.13068.47032.stgit-meopP2rzCrTwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2008-09-23 19:42 ` Trond Myklebust [this message]
2008-08-13 22:39 ` [PATCH 2/8] SUNRPC: Add address family field to svc_serv data structure Chuck Lever
2008-08-13 22:39 ` [PATCH 3/8] SUNRPC: Set V6ONLY socket option for RPC listener sockets Chuck Lever
[not found] ` <20080813223953.13068.97829.stgit-meopP2rzCrTwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2008-08-14 20:05 ` J. Bruce Fields
2008-08-14 20:34 ` Chuck Lever
2008-08-14 20:38 ` J. Bruce Fields
2008-08-14 20:45 ` Chuck Lever
2008-08-20 19:31 ` J. Bruce Fields
2008-08-21 12:11 ` Le Rouzic
2008-08-21 14:41 ` J. Bruce Fields
2008-08-21 15:32 ` Le Rouzic
2008-08-21 16:20 ` Chuck Lever
[not found] ` <76bd70e30808210920y3db1b07cyccbe40e1b4582c12-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-08-21 21:26 ` J. Bruce Fields
2008-08-13 22:40 ` [PATCH 4/8] SUNRPC: Use proper INADDR_ANY when setting up RPC services on IPv6 Chuck Lever
2008-08-13 22:40 ` [PATCH 5/8] SUNRPC: Split portmap unregister API into separate function Chuck Lever
2008-08-13 22:40 ` [PATCH 6/8] SUNRPC: Refactor svc_register() Chuck Lever
[not found] ` <20080813224016.13068.29786.stgit-meopP2rzCrTwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2008-08-14 20:36 ` J. Bruce Fields
2008-08-14 21:11 ` Chuck Lever
2008-08-13 22:40 ` [PATCH 7/8] SUNRPC: Use new rpcb_v4_register() interface in svc_register() Chuck Lever
2008-08-13 22:40 ` [PATCH 8/8] SUNRPC: Add kernel build option to disable server-side use of rpcbind v3/v4 Chuck Lever
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1222198941.7799.46.camel@localhost \
--to=trond.myklebust@netapp.com \
--cc=bfields@fieldses.org \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.