]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dlm: convert to idr_alloc()
authorTejun Heo <tj@kernel.org>
Wed, 20 Feb 2013 02:16:25 +0000 (13:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:52 +0000 (16:53 +1100)
commit2c9d3d70389678d1d6dd205f7cddc54154346289
tree8df4fdd08cf6a08504c263ce10d5864d08be85aa
parentd81daacd766f4f9338f32501bbc4f489b5b4917d
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