]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: reject zero layout with zeroed stripe unit
authorBenny Halevy <bhalevy@panasas.com>
Tue, 22 Feb 2011 23:56:01 +0000 (15:56 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:38:45 +0000 (15:38 -0500)
commit6f98942714c1668ace2d2cee3dc76a181a789c64
treeb0a9f986d5d209d4ab422525a16cfdc38da917da
parent65622b14fe715591dc67fd2e217bdb9179c7f7d0
NFSv4.1: reject zero layout with zeroed stripe unit

Allowing stripe_unit==0 causes the client to crash later on
when dividing by zero.

Reported-by: Marc Eshel <eshel@almaden.ibm.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c