lkml.org 
[lkml]   [2011]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [PATCH] [Trivial]: nfs : Fix typo in dir.c
Date
From
> -----Original Message-----
> From: Masanari Iida [mailto:standby24x7@gmail.com]
> Sent: Monday, December 19, 2011 9:17 AM
> To: linux-kernel@vger.kernel.org; jkosina@suse.cz; Myklebust, Trond
> Cc: linux-nfs@vger.kernel.org; Masanari Iida
> Subject: [PATCH] [Trivial]: nfs : Fix typo in dir.c
>
> Fix typo "iff" -> "if" in dir.c
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> To: Jiri Kosina <jkosina@suse.cz>
> To: Trond Myklebust <Trond.Myklebust@netapp.com>
> To: linux-nfs@vger.kernel.org
> ---
> fs/nfs/dir.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index ac28990..ad32d4e 100644
> --- a/fs/nfs/dir.c
> +++ b/fs/nfs/dir.c
> @@ -1127,7 +1127,7 @@ static int nfs_lookup_revalidate(struct dentry
> *dentry, struct nameidata *nd)
> if (nfs_have_delegation(inode, FMODE_READ))
> goto out_set_verifier;
>
> - /* Force a full look up iff the parent directory has changed */
> + /* Force a full look up if the parent directory has changed */
> if (!nfs_is_exclusive_create(dir, nd) && nfs_check_verifier(dir,
> dentry)) {
> if (nfs_lookup_verify_inode(inode, nd))
> goto out_zap_parent;
> --
> 1.7.6.4

That's not a typo. Iff is a common abbreviation for "if and only if".
Google it...

Cheers
Trond


\
 
 \ /
  Last update: 2011-12-19 15:25    [W:0.054 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site