GFS2: only use lvb on glocks that need it
authorDavid Teigland <teigland@redhat.com>
Wed, 14 Nov 2012 18:46:53 +0000 (13:46 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 15 Nov 2012 10:16:59 +0000 (10:16 +0000)
commitdba2d70c5dc520fdb569d1fd8dbd45c0e330253e
tree35cee899f98a6d863d48ecc2dc891b9dbb38b27e
parentfb6791d100d1bba20b5cdbc4912e1f7086ec60f8
GFS2: only use lvb on glocks that need it

Save the effort of allocating, reading and writing
the lvb for most glocks that do not use it.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/glops.c
fs/gfs2/incore.h
fs/gfs2/lock_dlm.c