]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
GFS2: Initialize hex string to '0'
authorNathan Straz <nstraz@redhat.com>
Tue, 11 Dec 2012 22:01:24 +0000 (17:01 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 2 Jan 2013 10:04:00 +0000 (10:04 +0000)
commitec1487528bed94c4aaff3687834fe94203880fd6
tree596a9a256e1465b3baf3ee882a6a06c1d2311f34
parent4a490b78cb7e0e5efa44425df72a9fedc1c36366
GFS2: Initialize hex string to '0'

When generating the DLM lock name, a value of 0 would skip
the loop and leave the string unchanged.  This left locks with
a value of 0 unlabeled.  Initializing the string to '0' fixes this.

Signed-off-by: Nathan Straz <nstraz@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/lock_dlm.c