RE: [PATCH] [Trivial]: nfs : Fix typo in dir.c

From: Myklebust, Trond
Date: Mon Dec 19 2011 - 09:22:00 EST


> -----Original Message-----
> From: Masanari Iida [mailto:standby24x7@xxxxxxxxx]
> Sent: Monday, December 19, 2011 9:17 AM
> To: linux-kernel@xxxxxxxxxxxxxxx; jkosina@xxxxxxx; Myklebust, Trond
> Cc: linux-nfs@xxxxxxxxxxxxxxx; Masanari Iida
> Subject: [PATCH] [Trivial]: nfs : Fix typo in dir.c
>
> Fix typo "iff" -> "if" in dir.c
>
> Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>
> To: Jiri Kosina <jkosina@xxxxxxx>
> To: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
> To: linux-nfs@xxxxxxxxxxxxxxx
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/