features/locks: Correct the order of arguments and print a log message in pl_flush.
features/locks: Correct the order of arguments and print a log message in pl_flush.

Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 306 (Enhance locks to aid debugging)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=306

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster