cifs: use type __u32 instead of int for the oplock parameter
authorSuresh Jayaraman <sjayaraman@suse.de>
Fri, 17 Sep 2010 14:13:10 +0000 (19:43 +0530)
committerSteve French <sfrench@us.ibm.com>
Wed, 29 Sep 2010 19:04:28 +0000 (19:04 +0000)
commita347ecb209b58a1b37f20d8299ab552f7d3ee8c3
tree67742ff720e87b28c0621f5b200b8c1d06d930f9
parent899611ee7d373e5eeda08e9a8632684e1ebbbf00
cifs: use type __u32 instead of int for the oplock parameter

... and avoid implicit casting from a signed type. Also, pass oplock by value
instead by reference as we don't intend to change the value in
cifs_open_inode_helper().

Thanks to Jeff Layton for spotting this.

Reviewed-by: Jeff Layton <jlayton@samba.org>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c