nfs: remove spurious WARN_ON_ONCE in write path
authorWeston Andros Adamson <dros@primarydata.com>
Mon, 3 Nov 2014 20:19:45 +0000 (15:19 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Nov 2014 19:22:52 +0000 (14:22 -0500)
commit16c9914069536c77ed358d94b6e247bdc464b7f0
treef9ce7b5a4824d8040bed2562236356db22130a96
parente0d4ed71ca0344494722a041780f004d2bcf0f11
nfs: remove spurious WARN_ON_ONCE in write path

This WARN_ON_ONCE was supposed to catch reference counting bugs, but can
trigger in inappropriate situations.

This was reproducible using NFSv2 on an architecture with 64K pages -- we
verified that it was not a reference counting bug and the warning was
safe to ignore.

Reported-by: Will Deacon <will.deacon@arm.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c