projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/radeon: do not move bo to different placement at each cs
[firefly-linux-kernel-4.4.55.git]
/
fs
/
lockd
/
clntxdr.c
diff --git
a/fs/lockd/clntxdr.c
b/fs/lockd/clntxdr.c
index d269ada7670e155c7544a2aa01ea0697e98f3991..982d2676e1f813b7e011b05223606af3a63451cc 100644
(file)
--- a/
fs/lockd/clntxdr.c
+++ b/
fs/lockd/clntxdr.c
@@
-223,7
+223,7
@@
static void encode_nlm_stat(struct xdr_stream *xdr,
{
__be32 *p;
-
BUG_ON
(be32_to_cpu(stat) > NLM_LCK_DENIED_GRACE_PERIOD);
+
WARN_ON_ONCE
(be32_to_cpu(stat) > NLM_LCK_DENIED_GRACE_PERIOD);
p = xdr_reserve_space(xdr, 4);
*p = stat;
}