: nfs : Fix typo in dir.c
Subsystems (2)
PATCH 1/1 : nfs : Fix typo in dir.c
Fix typo "iff" -> "if" in dir.c
Signed-off-by Masanari Iida <[email protected]>
To: Jiri Kosina <[email protected]>
To: Trond Myklebust <[email protected]>
To: [email protected]
--- fs/nfs/dir.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/nfs/dir.c +1 -1
@@ -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;
Signature · 1 line
1.7.6.4
Quoted 32 lines
-----Original Message-----
From: Masanari Iida [mailto:[email protected]]
Sent: Monday, December 19, 2011 9:17 AM
To: [email protected]; [email protected]; Myklebust, Trond
Cc: [email protected]; Masanari Iida
Subject: [PATCH] [Trivial]: nfs : Fix typo indir.cFix typo "iff" -> "if" in
dir.cSigned-off-by Masanari Iida <[email protected]>To: Jiri Kosina <[email protected]>
To: Trond Myklebust <[email protected]>
To: [email protected]--- fs/nfs/dir.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)fs/nfs/dir.c +1
-1@@ -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)) {fs/nfs/dir.c +0
-1if (nfs_lookup_verify_inode (inode, nd)) goto out_zap_parent; --
Quoted 1 line
1.7.6.4
That's not a typo. Iff is a common abbreviation for "if and only if". Google it...
Cheers
Trond
Quoted 1 line · Masanari Iida
Fix typo "iff" -> "if" in
dir.c
What makes you think that it's a typo?