Skip to contentSkip to conversation

cifs: trivial comment fix for cifs_invalidate_mapping

PATCH In review Suresh Jayaraman 2 participants 2 messages Nov 29, 2010 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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().

---
 fs/cifs/inode.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
fs/cifs/inode.c +3 -1
index ff7d299..669298f 100644
@@ -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

Reviewed-by
#2 lore raw

2010/11/29 Suresh Jayaraman <[email protected]>:

Quoted 20 lines

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

---
 fs/cifs/inode.c |    4 +++-

 1 files changed, 3 insertions(+), 1 deletions(-)
fs/cifs/inode.c +3 -1
index ff7d299..669298f 100644
@@ -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.

Signature · 2 lines
Best regards,
Pavel Shilovsky.