Parcourir la source

cifs: trivial comment fix for cifs_invalidate_mapping

Only the callers check whether the invalid_mapping flag is set and not
cifs_invalidate_mapping().

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Suresh Jayaraman il y a 14 ans
Parent
commit
523fb8c867
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      fs/cifs/inode.c

+ 3 - 1
fs/cifs/inode.c

@@ -1670,7 +1670,9 @@ cifs_inode_needs_reval(struct inode *inode)
 	return false;
 }
 
-/* check invalid_mapping flag and zap the cache if it's set */
+/*
+ * Zap the cache. Called when invalid_mapping flag is set.
+ */
 static void
 cifs_invalidate_mapping(struct inode *inode)
 {