cifs: trivial comment fix for cifs_invalidate_mapping
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- fs/cifs/inode.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
fs/cifs/inode.c +3 -1
@@ -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) {
A message that is not in the archive (sent off-list or not yet received): 1291050587-9642-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org
Pavel Shilovsky
Reviewed-by2010/11/29 Suresh Jayaraman <[email protected]>:
Quoted 20 lines
Only the callers check whether the
invalid_mappingflag is set and notcifs_invalidate_mapping().Signed-off-by Suresh Jayaraman <[email protected]>---
fs/cifs/inode.c | 4 +++-1 files changed, 3 insertions(+), 1 deletions(-)fs/cifs/inode.c +3
-1@@ -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. +*/
Quoted 3 lines
static void
cifs_invalidate_mapping(struct inode *inode)
{
Looks correct.
Reviewed-by Pavel Shilovsky <[email protected]>
Signature · 2 lines
Best regards, Pavel Shilovsky.