aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorSuresh Jayaraman <sjayaraman@suse.de>2010-11-29 12:09:47 -0500
committerSteve French <sfrench@us.ibm.com>2010-11-29 12:48:16 -0500
commit523fb8c867650196bef830d5dd9315d9975a9b7e (patch)
tree7697f22640a3281649e2445a58f1e0d5f431d1f2 /fs/cifs/inode.c
parent362d31297fafb150676f4d564ecc7f7f3e3b7fd4 (diff)
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/cifs/inode.c')
-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)
1670 return false; 1670 return false;
1671} 1671}
1672 1672
1673/* check invalid_mapping flag and zap the cache if it's set */ 1673/*
1674 * Zap the cache. Called when invalid_mapping flag is set.
1675 */
1674static void 1676static void
1675cifs_invalidate_mapping(struct inode *inode) 1677cifs_invalidate_mapping(struct inode *inode)
1676{ 1678{