doubt: inode_t->get_layout_size_increment() is signed.
diff mbox

Message ID AANLkTingtd5NZClFkNsiuzX3phcFTzCeLw4-MiBt_wA9@mail.gmail.com
State New, archived
Headers show

Commit Message

Miguel F Mascarenhas Sousa Filipe July 6, 2010, 12:16 a.m. UTC
None

Patch
diff mbox

diff --git a/src/mds/mdstypes.h b/src/mds/mdstypes.h
index b7bfd1d..3054610 100644
--- a/src/mds/mdstypes.h
+++ b/src/mds/mdstypes.h
@@ -379,7 +379,7 @@  struct inode_t {

   bool is_truncating() const { return (truncate_pending > 0); }

-  int64_t get_layout_size_increment() {
+  uint64_t get_layout_size_increment() {
     return layout.fl_object_size * layout.fl_stripe_count;
   }