CIFS: Cleanup byte-range locking code style
authorPavel Shilovsky <piastry@etersoft.ru>
Sat, 29 Oct 2011 13:17:59 +0000 (17:17 +0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 4 Nov 2011 05:53:21 +0000 (00:53 -0500)
commita88b470773bc5b640292d8be7b8e7e1011a86639
tree9a30adafadeb3eb461e05fc80779da719b0a8004
parent161ebf9fcca967e7396bb076af5ed18539497a3f
CIFS: Cleanup byte-range locking code style

Reorder parms of cifs_lock_init, trivially simplify getlk code and
remove extra {} in cifs_lock_add_if.

Cc: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jeff Layton <jlayton@samba.org>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c