linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [Trivial]: nfs : Fix typo in dir.c
@ 2011-12-19 14:17 Masanari Iida
  2011-12-19 14:21 ` Myklebust, Trond
  2011-12-19 14:25 ` Al Viro
  0 siblings, 2 replies; 3+ messages in thread
From: Masanari Iida @ 2011-12-19 14:17 UTC (permalink / raw)
  To: linux-kernel, jkosina, Trond.Myklebust; +Cc: linux-nfs, Masanari Iida

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] [Trivial]: nfs : Fix typo in dir.c
  2011-12-19 14:17 [PATCH] [Trivial]: nfs : Fix typo in dir.c Masanari Iida
@ 2011-12-19 14:21 ` Myklebust, Trond
  2011-12-19 14:25 ` Al Viro
  1 sibling, 0 replies; 3+ messages in thread
From: Myklebust, Trond @ 2011-12-19 14:21 UTC (permalink / raw)
  To: Masanari Iida, linux-kernel, jkosina; +Cc: linux-nfs

> -----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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] [Trivial]: nfs : Fix typo in dir.c
  2011-12-19 14:17 [PATCH] [Trivial]: nfs : Fix typo in dir.c Masanari Iida
  2011-12-19 14:21 ` Myklebust, Trond
@ 2011-12-19 14:25 ` Al Viro
  1 sibling, 0 replies; 3+ messages in thread
From: Al Viro @ 2011-12-19 14:25 UTC (permalink / raw)
  To: Masanari Iida; +Cc: linux-kernel, jkosina, Trond.Myklebust, linux-nfs

On Mon, Dec 19, 2011 at 11:17:03PM +0900, Masanari Iida wrote:
> Fix typo "iff" -> "if" in dir.c

What makes you think that it's a typo?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-19 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-19 14:17 [PATCH] [Trivial]: nfs : Fix typo in dir.c Masanari Iida
2011-12-19 14:21 ` Myklebust, Trond
2011-12-19 14:25 ` Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).