summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSuresh Jayaraman <sjayaraman@suse.de>2010-11-29 18:09:47 +0100
committerSteve French <sfrench@us.ibm.com>2010-11-29 18:48:16 +0100
commit523fb8c867650196bef830d5dd9315d9975a9b7e (patch)
tree7697f22640a3281649e2445a58f1e0d5f431d1f2 /fs
parent[CIFS] fs/cifs/Kconfig: CIFS depends on CRYPTO_HMAC (diff)
downloadlinux-523fb8c867650196bef830d5dd9315d9975a9b7e.tar.xz
linux-523fb8c867650196bef830d5dd9315d9975a9b7e.zip
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/inode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index ff7d2995d252..669298f088da 100644
--- a/fs/cifs/inode.c
+++ b/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)
{