]> 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)
commit7d70ac607293d3579ff96891b921cb4566adf350
treef9ce7b5a4824d8040bed2562236356db22130a96
parent40ddea4e67dc8acfc84c89af7a748aa1af1468c9
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