Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332593
b: refs/heads/master
c: 221b831
h: refs/heads/master
i:
  332591: dd4cb48
v: v3
  • Loading branch information
Zach Brown authored and Chris Mason committed Oct 9, 2012
1 parent 1c74f42 commit 1ace135
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 67b0fd63d5466bb710677afd3d2b77926c55f662
refs/heads/master: 221b831835421f9451182611fa25fa60f440662f
3 changes: 2 additions & 1 deletion trunk/fs/btrfs/file-item.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
sizeof(struct btrfs_item) * 2) / \
size) - 1))

#define MAX_CSUM_ITEMS(r, size) (min(__MAX_CSUM_ITEMS(r, size), PAGE_CACHE_SIZE))
#define MAX_CSUM_ITEMS(r, size) (min_t(u32, __MAX_CSUM_ITEMS(r, size), \
PAGE_CACHE_SIZE))

#define MAX_ORDERED_SUM_BYTES(r) ((PAGE_SIZE - \
sizeof(struct btrfs_ordered_sum)) / \
Expand Down

0 comments on commit 1ace135

Please sign in to comment.