From: Al Viro Date: Tue, 16 Jun 2015 22:45:21 +0000 (-0400) Subject: ufs: ufs_trunc_...() has exclusion with everything that might cause allocations X-Git-Tag: omap-for-v4.3/fixes-rc1~80^2~5^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=687857930d9294100a4636e45b78a244e6ba4125;p=pandora-kernel.git ufs: ufs_trunc_...() has exclusion with everything that might cause allocations Currently - on lock_ufs(), eventually - on per-inode mutex. lock_ufs() used to be mere BKL, which is much weaker, so it needed those rechecks. BKL doesn't provide any exclusion once we lose CPU; its blind replacement, OTOH, _does_. Making that per-filesystem was an atrocity, but at least we can simplify life here. And yes, we certainly need to make that sucker per-inode - these days inode.c and truncate.c uses are needed only to protect the block pointers. Signed-off-by: Al Viro --- Reading git-diff-tree failed