Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274611
b: refs/heads/master
c: 6ab6060
h: refs/heads/master
i:
  274609: e4c2f2e
  274607: acc4c54
v: v3
  • Loading branch information
Josef Bacik committed Oct 19, 2011
1 parent bb7da14 commit f71648f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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: 4289a667a0d7c6b134898cac7bfbe950267c305c
refs/heads/master: 6ab60601d518d563ca1a47eaa399096e69d3b64a
12 changes: 7 additions & 5 deletions trunk/fs/btrfs/free-space-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/math64.h>
#include <linux/ratelimit.h>
#include "ctree.h"
#include "free-space-cache.h"
#include "transaction.h"
Expand Down Expand Up @@ -341,11 +342,12 @@ int __load_free_space_cache(struct btrfs_root *root, struct inode *inode,

gen = addr;
if (*gen != BTRFS_I(inode)->generation) {
printk(KERN_ERR "btrfs: space cache generation"
" (%llu) does not match inode (%llu)\n",
(unsigned long long)*gen,
(unsigned long long)
BTRFS_I(inode)->generation);
printk_ratelimited(KERN_ERR "btrfs: space cache"
" generation (%llu) does not match "
"inode (%llu)\n",
(unsigned long long)*gen,
(unsigned long long)
BTRFS_I(inode)->generation);
kunmap(page);
unlock_page(page);
page_cache_release(page);
Expand Down

0 comments on commit f71648f

Please sign in to comment.