From: Pekka Enberg Date: Sun, 4 Jan 2009 20:00:48 +0000 (-0800) Subject: fs: introduce bgl_lock_ptr() X-Git-Tag: v2.6.29-rc1~517 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c644f0e4b56f9a2fc066cd0d75a18074d130e4a3;p=pandora-kernel.git fs: introduce bgl_lock_ptr() As suggested by Andreas Dilger, introduce a bgl_lock_ptr() helper in 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 Signed-off-by: Pekka Enberg Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed