GFS2: fix error propagation in init_threads()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Wed, 5 Jun 2013 21:29:04 +0000 (01:29 +0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 6 Jun 2013 08:52:29 +0000 (09:52 +0100)
If kthread_run() fails, init_threads() returns
IS_ERR(p) instead of PTR_ERR(p).

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_fstype.c

Simple merge