]> git.baikalelectronics.ru Git - kernel.git/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)
commit7fef3b22b8f88064ba6d52142b99dc8d3f21ef9b
treea8072d7f82e04a88ea37f474661e33f45c112e15
parent38c518483d7a248dab40c69436df9d7870002f89
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