From: Jan Kara Date: Fri, 3 May 2013 22:11:23 +0000 (+0200) Subject: fs: Fix hang with BSD accounting on frozen filesystem X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~43^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ae98f1589e076e4b314fc54ae2beac58842ddc2;p=pandora-kernel.git fs: Fix hang with BSD accounting on frozen filesystem When BSD process accounting is enabled and logs information to a filesystem which gets frozen, system easily becomes unusable because each attempt to account process information blocks. Thus e.g. every task gets blocked in exit. It seems better to drop accounting information (which can already happen when filesystem is running out of space) instead of locking system up. So we just skip the write if the filesystem is frozen. Reported-by: Nikola Ciprich Signed-off-by: Jan Kara Signed-off-by: Al Viro --- Reading git-diff-tree failed