]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8765862b33018d3bc2f3abe43b0623cd32d4abe0
treef9ce7b5a4824d8040bed2562236356db22130a96
parenta85721ba49cee30403e52c67baf6771e1c9d0cfd
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