Skip to contentSkip to conversation

NFS: correct CONFIG_NFS_V4 macro name in #endif comment

PATCH New Ethan Nelson-Moore 1 participant 1 message Jun 9

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NFS: correct CONFIG_NFS_V4 macro name in #endif comment

A comment in fs/nfs/dir.c incorrectly refers to CONFIG_NFSV4 instead of CONFIG_NFS_V4. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---
 fs/nfs/dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/nfs/dir.c +1 -1
index e9ce1883288c..9381563c0a2a 100644
@@ -2299,7 +2299,7 @@ nfs4_lookup_revalidate(struct inode *dir, const struct qstr *name,
 	return nfs_do_lookup_revalidate(dir, name, dentry, flags);
 }
 
-#endif /* CONFIG_NFSV4 */
+#endif /* CONFIG_NFS_V4 */
 
 int nfs_atomic_open_v23(struct inode *dir, struct dentry *dentry,
 			struct file *file, unsigned int open_flags,
Signature · 1 line
2.43.0