diff options
Diffstat (limited to 'fs/lockd/svclock.c')
| -rw-r--r-- | fs/lockd/svclock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c index 56598742dde4..5581e020644b 100644 --- a/fs/lockd/svclock.c +++ b/fs/lockd/svclock.c | |||
| @@ -57,8 +57,8 @@ static DEFINE_SPINLOCK(nlm_blocked_lock); | |||
| 57 | static const char *nlmdbg_cookie2a(const struct nlm_cookie *cookie) | 57 | static const char *nlmdbg_cookie2a(const struct nlm_cookie *cookie) |
| 58 | { | 58 | { |
| 59 | /* | 59 | /* |
| 60 | * We can get away with a static buffer because we're only | 60 | * We can get away with a static buffer because this is only called |
| 61 | * called with BKL held. | 61 | * from lockd, which is single-threaded. |
| 62 | */ | 62 | */ |
| 63 | static char buf[2*NLM_MAXCOOKIELEN+1]; | 63 | static char buf[2*NLM_MAXCOOKIELEN+1]; |
| 64 | unsigned int i, len = sizeof(buf); | 64 | unsigned int i, len = sizeof(buf); |
