GFS2: alloc_workqueue() doesn't return an ERR_PTR
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 15 Aug 2013 07:54:43 +0000 (10:54 +0300)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 19 Aug 2013 08:33:43 +0000 (09:33 +0100)
commitdfc4616ddeb133290599d4d13936e208f6ba8142
tree7d71eff4c73f0439e96b114a229c7dc6e0ff941a
parent1bc333f4cf601f77ba0f5046ff226fe654e83bee
GFS2: alloc_workqueue() doesn't return an ERR_PTR

alloc_workqueue() returns a NULL on error, it doesn't return an ERR_PTR.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c