diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-10-30 23:31:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-31 02:08:15 +0100 |
commit | 05fa3135fdc7b9b510b502a35b6b97d2b38c6f48 (patch) | |
tree | d533e8112111202ae890b2061c0386669002d080 /drivers/watchdog/sbc_epx_c3.c | |
parent | locks: fix leaks on setlease errors (diff) | |
download | linux-05fa3135fdc7b9b510b502a35b6b97d2b38c6f48.tar.xz linux-05fa3135fdc7b9b510b502a35b6b97d2b38c6f48.zip |
locks: fix setlease methods to free passed-in lock
We modified setlease to require the caller to allocate the new lease in
the case of creating a new lease, but forgot to fix up the filesystem
methods.
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Steve French <sfrench@samba.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/watchdog/sbc_epx_c3.c')
0 files changed, 0 insertions, 0 deletions