ocfs2: return -EAGAIN instead of EAGAIN in dlm
authorTiger Yang <tiger.yang@oracle.com>
Thu, 19 Nov 2009 02:17:46 +0000 (10:17 +0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 3 Dec 2009 00:49:28 +0000 (16:49 -0800)
commitaad1b15310b9bcd59fa81ab8f2b1513b59553ea8
treedc0a9534667f59713854203bd9f184269d37735f
parentf6656d26d17b2598f43cd41be088853fa2a03397
ocfs2: return -EAGAIN instead of EAGAIN in dlm

We used to return positive EAGAIN to indicate a retry action
is needed in dlm_begin_reco_handler(). Now we return negative
-EAGAIN to erase the confusion caused by this error code.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlm/dlmrecovery.c