diff options
author | Roland Dreier <rdreier@cisco.com> | 2008-04-25 22:32:51 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-25 22:49:46 (GMT) |
commit | 3dd7b71ca0f7ff8410a6b8cb15e5f670f90181e4 (patch) | |
tree | 163e064bdd9036ae60c8998357d0c471f087699b /kernel/mutex.h | |
parent | b9fa38f75ea7e1f64bc29653ca9758303ce698e4 (diff) | |
download | linux-fsl-qoriq-3dd7b71ca0f7ff8410a6b8cb15e5f670f90181e4.tar.xz |
Export __locks_copy_lock() so modular lockd builds
Commit 1a747ee0 ("locks: don't call ->copy_lock methods on return of
conflicting locks") changed fs/lockd/svclock.c to call
__locks_copy_lock() instead of locks_copy_lock(), but lockd can be built
as a module and __locks_copy_lock() is not exported, which causes a
build error
ERROR: "__locks_copy_lock" [fs/lockd/lockd.ko] undefined!
with CONFIG_LOCKD=m.
Fix this by exporting __locks_copy_lock().
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions