GFS2: Add calls to gfs2_holder_uninit in two error handlers
authorDaniel DeFreez <dcdefreez@ucdavis.edu>
Tue, 19 Apr 2016 23:57:45 +0000 (19:57 -0400)
committerBob Peterson <rpeterso@redhat.com>
Tue, 19 Apr 2016 23:59:11 +0000 (19:59 -0400)
commit9c7fe83530a351845719acf1dda0587e8c743588
tree1a0dcd287ce43cfab52529bfab7f4c7a4ce9535b
parente97321fa095f1ea7110d4d2ba446bd6141ed9a03
GFS2: Add calls to gfs2_holder_uninit in two error handlers

This patch fixes two locations that do not call gfs2_holder_uninit
if gfs2_glock_nq returns an error.

Signed-off-by: Daniel DeFreez <dcdefreez@ucdavis.edu>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/aops.c
fs/gfs2/file.c