From: J. Bruce Fields Date: Wed, 3 Mar 2010 19:52:55 +0000 (-0500) Subject: nfsd4: don't sleep in lease-break callback X-Git-Tag: v2.6.35-rc1~489^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5a1a81e5c25fb6bb3fdc1812ba69ff6ab638fcf;p=pandora-kernel.git nfsd4: don't sleep in lease-break callback The NFSv4 server's fl_break callback can sleep (dropping the BKL), in order to allocate a new rpc task to send a recall to the client. As far as I can tell this doesn't cause any races in the current code, but the analysis is difficult. Also, the sleep here may complicate the move away from the BKL. So, just schedule some work to do the job for us instead. The work will later also prove useful for restarting a call after the callback information is changed. Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed