cifs: handle lease F_UNLCK requests properly
authorJeff Layton <jlayton@primarydata.com>
Sat, 9 Aug 2014 14:16:44 +0000 (10:16 -0400)
committerSteve French <smfrench@gmail.com>
Sat, 16 Aug 2014 04:01:52 +0000 (23:01 -0500)
commit024408062b21af7316221c420ff16bdaac478fa8
treec2f521ad6627e7c509ca2905012d915340976353
parentd43cc79343dfabf9f168531d3f5cff313205c8fb
cifs: handle lease F_UNLCK requests properly

Currently any F_UNLCK request for a lease just gets back -EAGAIN. Allow
them to go immediately to generic_setlease instead.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsfs.c