Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320311
b: refs/heads/master
c: c61a1ab
h: refs/heads/master
i:
  320309: aeffe4c
  320307: f659f67
  320303: 2ab1d8c
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed Jul 30, 2012
1 parent d264c80 commit 8bf825e
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 8842b3be96c376f174ae0d4f282d14728ad5febf
refs/heads/master: c61a1abd215c1ccd6fa73104c79e79987ed3aa98
2 changes: 1 addition & 1 deletion trunk/include/linux/ceph/decode.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static inline void ceph_encode_filepath(void **p, void *end,
u64 ino, const char *path)
{
u32 len = path ? strlen(path) : 0;
BUG_ON(*p + sizeof(ino) + sizeof(len) + len > end);
BUG_ON(*p + 1 + sizeof(ino) + sizeof(len) + len > end);
ceph_encode_8(p, 1);
ceph_encode_64(p, ino);
ceph_encode_32(p, len);
Expand Down

0 comments on commit 8bf825e

Please sign in to comment.