Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347829
b: refs/heads/master
c: 75bc411
h: refs/heads/master
i:
  347827: 81dec8e
v: v3
  • Loading branch information
David Howells committed Dec 20, 2012
1 parent a8b76a7 commit be01844
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2d35bfe4b508451b75b5b6bc60a08dbdc44f952
refs/heads/master: 75bc411388f4aeb9fb0381bd56eb5d67193ed9a1
8 changes: 4 additions & 4 deletions trunk/fs/fscache/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,10 @@ EXPORT_SYMBOL(fscache_add_cache);
*/
void fscache_io_error(struct fscache_cache *cache)
{
set_bit(FSCACHE_IOERROR, &cache->flags);

printk(KERN_ERR "FS-Cache: Cache %s stopped due to I/O error\n",
cache->ops->name);
if (!test_and_set_bit(FSCACHE_IOERROR, &cache->flags))
printk(KERN_ERR "FS-Cache:"
" Cache '%s' stopped due to I/O error\n",
cache->ops->name);
}
EXPORT_SYMBOL(fscache_io_error);

Expand Down

0 comments on commit be01844

Please sign in to comment.