From: Pavel Shilovsky Date: Sat, 29 Oct 2011 13:17:58 +0000 (+0400) Subject: CIFS: Simplify setlk error handling for mandatory locking X-Git-Tag: v3.2-rc1~13^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=161ebf9fcca967e7396bb076af5ed18539497a3f;p=pandora-kernel.git CIFS: Simplify setlk error handling for mandatory locking Now we allocate a lock structure at first, then we request to the server and save the lock if server returned OK though void function - it prevents the situation when we locked a file on the server and then return -ENOMEM from setlk. Signed-off-by: Pavel Shilovsky Acked-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed