[GFS2] System won't suspend with GFS2 file system mounted
authorAbhijith Das <adas@redhat.com>
Wed, 27 Jun 2007 16:06:19 +0000 (11:06 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 07:24:04 +0000 (08:24 +0100)
commitb3657629249eba0b3b61ff964d6e1539b469d117
tree60db7f1b29c5e5432510986f3b3f2081acf4c991
parent569a7b6c2e8965ff4908003b925757703a3d649c
[GFS2] System won't suspend with GFS2 file system mounted

The kernel threads in gfs2, namely gfs2_scand, gfs2_logd, gfs2_quotad,
gfs2_glockd, gfs2_recoverd weren't doing anything when the suspend
mechanism was trying to freeze them.

I put in calls to refrigerator() in the loops for all the daemons and
suspend works as expected.

Signed-off-by: Abhijith Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/daemon.c