]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2/dlm: Handle EAGAIN for compatibility - v2
authorSunil Mushran <sunil.mushran@oracle.com>
Tue, 26 Jan 2010 01:58:30 +0000 (17:58 -0800)
committerJoel Becker <joel.becker@oracle.com>
Wed, 3 Feb 2010 02:56:34 +0000 (18:56 -0800)
commitfbf1b174b1e2b55109562b0778559a06abd8edee
treef6efa7606dbddb08938b1a887ab04e3ef2c6e916
parent7732330d62da65dc47fd123a43aef175d34293b7
ocfs2/dlm: Handle EAGAIN for compatibility - v2

Mainline commit eb7a9b7233a6f184b6738ae52a67e875c04bcd66 made the
dlm_begin_reco_handler() return -EAGAIN instead of EAGAIN.

As this error is transmitted over the wire, we want the receiver,
dlm_send_begin_reco_message(), to understand both the older EAGAIN and
the newer -EAGAIN, to allow rolling upgrade of the cluster nodes.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlm/dlmrecovery.c