cifs: potential missing check for posix_lock_file_wait
authorChengyu Song <csong84@gatech.edu>
Wed, 25 Mar 2015 00:18:49 +0000 (20:18 -0400)
committerSteve French <smfrench@gmail.com>
Wed, 20 May 2015 18:08:33 +0000 (13:08 -0500)
commit00b8c95b680791a72b4bb14dc371ff1f1daae39c
tree0b7d97ae5c7dd4d9d11aeb48e3d05d30a61d3743
parent7196ac113a4f38b7ca1a3282fd9edf328bd22287
cifs: potential missing check for posix_lock_file_wait

posix_lock_file_wait may fail under certain circumstances, and its result is
usually checked/returned. But given the complexity of cifs, I'm not sure if
the result is intentially left unchecked and always expected to succeed.

Signed-off-by: Chengyu Song <csong84@gatech.edu>
Acked-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/file.c