summaryrefslogtreecommitdiff
path: root/net/sunrpc/bc_svc.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-03-25 07:59:57 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-04-05 17:03:52 -0400
commit25d280aad82e559cc7bc762410cd35ea5b98e294 (patch)
tree07c6185345f59b818e51684104aa2ed99cd15931 /net/sunrpc/bc_svc.c
parent809b426c7fc46b07065eb382c0289710c34b37e4 (diff)
nfs: allow the v4.1 callback thread to freeze
The v4.1 callback thread has set_freezable() at the top, but it doesn't ever try to freeze within the loop. Have it call try_to_freeze() at the top of the loop. If a freeze event occurs, recheck kthread_should_stop() after thawing. Reported-by: Yanchuan Nian <ycnian@gmail.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/bc_svc.c')
0 files changed, 0 insertions, 0 deletions