]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dlm: convert to idr_alloc()
authorTejun Heo <tj@kernel.org>
Thu, 7 Feb 2013 01:31:49 +0000 (12:31 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:37 +0000 (16:47 +1100)
commit719bddd13c93c00f2d6599bc9e64e7659ed70df6
tree37fb9b9daef99c21c79862effbecfc969a3b5efa
parent5b09b53473c8207c18dfdce5811de41f5f479411
dlm: convert to idr_alloc()

Convert to the much saner new idr interface.  Error return values from
recover_idr_add() mix -1 and -errno.  The conversion doesn't change
that but it looks iffy.

Only compile tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/dlm/lock.c
fs/dlm/recover.c