cifs: trivial comment fix for cifs_invalidate_mapping
authorSuresh Jayaraman <sjayaraman@suse.de>
Mon, 29 Nov 2010 17:09:47 +0000 (22:39 +0530)
committerSteve French <sfrench@us.ibm.com>
Mon, 29 Nov 2010 17:48:16 +0000 (17:48 +0000)
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>
fs/cifs/inode.c

index ff7d2995d252ee694cbd2e76f545092e53ac6936..669298f088da28d26b2fddbf3613f578d379b5a6 100644 (file)
@@ -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)
 {