Commit graph android_kernel_sony_sdm845/fs/dlm/plock.c
Message SHA1
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>

David Teigland   commited 2008-05-19 15:37:27 -05:00
817d10bad5
dlm: move plock code from gfs2
Move the code that handles cluster posix locks from gfs2 into the dlm
so that it can be used by both gfs2 and ocfs2.

Signed-off-by: David Teigland <teigland@redhat.com>

David Teigland   commited 2008-04-21 11:22:28 -05:00
2402211a83
Renamed from fs/gfs2/locking/dlm/plock.c (Browse further)