Pekka Enberg c644f0e4b5 fs: introduce bgl_lock_ptr()
As suggested by Andreas Dilger, introduce a bgl_lock_ptr() helper in
<linux/blockgroup_lock.h> and add separate sb_bgl_lock() helpers to
filesystem specific header files to break the hidden dependency to
struct ext[234]_sb_info.

Also, while at it, convert the macros to static inlines to try make up
for all the times I broke Andrew Morton's tree.

Acked-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-04 13:33:20 -08:00
..
2009-01-03 16:14:05 +10:30
2009-01-03 16:16:54 +10:30
2009-01-01 10:12:18 +10:30
2009-01-03 16:19:03 +10:30
2009-01-03 16:21:08 +10:30
2008-12-25 11:05:13 +11:00
2008-11-14 10:39:13 +11:00
2009-01-04 13:33:20 -08:00
2008-10-22 22:09:59 -07:00
2008-12-16 21:50:31 +01:00