From: Christoph Hellwig Date: Fri, 24 Jun 2011 18:29:40 +0000 (-0400) Subject: fat: remove i_alloc_sem abuse X-Git-Tag: v3.1-rc1~282^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=582686915803e34adc8fdcd90bff7ca7f6a42221;p=pandora-kernel.git fat: remove i_alloc_sem abuse Add a new rw_semaphore to protect bmap against truncate. Previous i_alloc_sem was abused for this, but it's going away in this series. Note that we can't simply use i_mutex, given that the swapon code calls ->bmap under it. Signed-off-by: Christoph Hellwig Signed-off-by: Al Viro --- Reading git-diff-tree failed