]> err.no Git - linux-2.6/commit
dlm: fix plock dev_write return value
authorDavid Teigland <teigland@redhat.com>
Tue, 13 May 2008 19:28:26 +0000 (14:28 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 19 May 2008 20:37:27 +0000 (15:37 -0500)
commit817d10bad56f2fdfa321b4a864a21295226b123a
treea8072d7f82e04a88ea37f474661e33f45c112e15
parent0035a4b14931eb62a5f8a7762284c18e7ab14289
dlm: fix plock dev_write return value

The return value on writes to the plock device should be
the number of bytes written.  It was returning 0 instead
when an nfs lock callback was involved.

Reported-by: Nathan Straz <nstraz@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/plock.c