[Ocfs2-devel] [PATCH] ocfs2: fix snprintf format specifier in dlmdebug.c

2015-01-08 Thread alex chen
Use snprintf format specifier %lu instead of %ld for
argument of type 'unsigned long'.

Signed-off-by: Alex Chen alex.c...@huawei.com
Reviewed-by: Joseph Qi joseph...@huawei.com
---
 fs/ocfs2/dlm/dlmdebug.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ocfs2/dlm/dlmdebug.c b/fs/ocfs2/dlm/dlmdebug.c
index 149eb55..8251360 100644
--- a/fs/ocfs2/dlm/dlmdebug.c
+++ b/fs/ocfs2/dlm/dlmdebug.c
@@ -406,7 +406,7 @@ static int debug_purgelist_print(struct dlm_ctxt *dlm, char 
*buf, int len)
}
spin_unlock(dlm-spinlock);

-   out += snprintf(buf + out, len - out, Total on list: %ld\n, total);
+   out += snprintf(buf + out, len - out, Total on list: %lu\n, total);

return out;
 }
@@ -464,7 +464,7 @@ static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, 
int len)
spin_unlock(dlm-master_lock);

out += snprintf(buf + out, len - out,
-   Total: %ld, Longest: %ld\n, total, longest);
+   Total: %lu, Longest: %lu\n, total, longest);
return out;
 }

-- 
1.8.4.3


___
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel


[Ocfs2-devel] Git repos?

2015-01-08 Thread Jonathan Fraser
Hi,

Sorry for the newbe question, but where are the git repos for the staged
changes?  I've searched high and low. I'd like to test with some of the
recent changes.

Thanks,
Jon Fraser
___
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel


Re: [Ocfs2-devel] Git repos?

2015-01-08 Thread Jonathan Fraser

Thanks.  I had found that yesterday but I didn't see any ocfs2 activity
since 2014-12-19.  Now I see 18 new patches.  I thought perhaps
there was a staging repo before patches were sent to linux-next/akpm
branch.

Jon


On Thu, 2015-01-08 at 12:08 -0800, Srinivas Eeda wrote:
 git repos for ocfs2 kernel code is linux.git and linux-next.git on 
 kernel.org
 For tools it's git://oss.oracle.com/git/ocfs2-tools.git
 
 On 01/08/2015 10:43 AM, Jonathan Fraser wrote:
  Hi,
 
  Sorry for the newbe question, but where are the git repos for the staged
  changes?  I've searched high and low. I'd like to test with some of the
  recent changes.
 
  Thanks,
  Jon Fraser
  ___
  Ocfs2-devel mailing list
  Ocfs2-devel@oss.oracle.com
  https://oss.oracle.com/mailman/listinfo/ocfs2-devel
 

___
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel


Re: [Ocfs2-devel] Git repos?

2015-01-08 Thread Srinivas Eeda
git repos for ocfs2 kernel code is linux.git and linux-next.git on 
kernel.org
For tools it's git://oss.oracle.com/git/ocfs2-tools.git

On 01/08/2015 10:43 AM, Jonathan Fraser wrote:
 Hi,

 Sorry for the newbe question, but where are the git repos for the staged
 changes?  I've searched high and low. I'd like to test with some of the
 recent changes.

 Thanks,
 Jon Fraser
 ___
 Ocfs2-devel mailing list
 Ocfs2-devel@oss.oracle.com
 https://oss.oracle.com/mailman/listinfo/ocfs2-devel


___
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel