Whamcloud - gitweb
b=22522 do not remove from res_list without locks
authorOleg Drokin <green@linuxhacker.ru>
Wed, 5 May 2010 23:35:58 +0000 (19:35 -0400)
committerRobert Read <robert.read@oracle.com>
Thu, 6 May 2010 00:55:09 +0000 (17:55 -0700)
commit33b43d1fea4ef3b603ab6952b6965171e948ef73
tree3c02b662930d374bbb3f620ecc55bf5d3385bac9
parentaf028abaaa2d14db767a09f0c3f1427be2889689
b=22522 do not remove from res_list without locks

Patch in bug 21501 moved list manipulation of res_list outside or res_lock
introducing a race window in flock code. Move it back under the lock.

i=rread
i=adilger
lustre/ldlm/ldlm_flock.c