Whamcloud - gitweb
b=22363 fix for a race condition in linux quotas implementation
authorAndrew Perepechko <Andrew.Perepechko@Sun.COM>
Fri, 9 Apr 2010 20:31:44 +0000 (00:31 +0400)
committerJohann Lombardi <johann@sun.com>
Fri, 9 Apr 2010 21:00:21 +0000 (23:00 +0200)
commit930e7071506f46a226164ddcc6a47b6d67f70fc8
tree650fc02a024cfe9c7fd8c456feda0a336a6631ee
parentf8803ed0baab8347eacbfca4d9cef1610cc6344d
b=22363 fix for a race condition in linux quotas implementation

dq_flags(struct dquot) access is not properly locked which could
lead to certain inconsistencies when accessing it using non-atomic
bit operations like __set_bit in do_set_dqblk.

This patch replaces non-atomic __set_bit calls with atomic set_bit
calls.

i=Johann Lombardi
i=Dmitry Zogin
lustre/kernel_patches/patches/quota-support-64-bit-quota-format.patch