ChangeSet 1.2226, 2005/03/31 08:26:47-08:00, [EMAIL PROTECTED]
[PATCH] NFS: Fix typo in access caching code
Currently we fail to clear the "invalid cache" flag when we've
revalidated
the cache.
Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
dir.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/fs/nfs/dir.c b/fs/nfs/dir.c
--- a/fs/nfs/dir.c 2005-03-31 10:09:06 -08:00
+++ b/fs/nfs/dir.c 2005-03-31 10:09:06 -08:00
@@ -1472,8 +1472,8 @@
if (cache->cred)
put_rpccred(cache->cred);
cache->cred = get_rpccred(set->cred);
- NFS_FLAGS(inode) &= ~NFS_INO_INVALID_ACCESS;
}
+ NFS_FLAGS(inode) &= ~NFS_INO_INVALID_ACCESS;
cache->jiffies = set->jiffies;
cache->mask = set->mask;
}
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html