Skip to content

Commit

Permalink
cifs: trivial comment fix for cifs_invalidate_mapping
Browse files Browse the repository at this point in the history
Only the callers check whether the invalid_mapping flag is set and not
cifs_invalidate_mapping().

Signed-off-by: Suresh Jayaraman <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
Suresh Jayaraman authored and Steve French committed Nov 29, 2010
1 parent 362d312 commit 523fb8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fs/cifs/inode.c
Original file line number Diff line number Diff line change
@@ -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)
{

0 comments on commit 523fb8c

Please sign in to comment.