From: Jan Kara Date: Tue, 12 Jun 2012 14:20:39 +0000 (+0200) Subject: xfs: Convert to new freezing code X-Git-Tag: v3.6-rc1~18^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9457dc056249913a7abe8b71dc09e427e590e35;p=pandora-kernel.git xfs: Convert to new freezing code Generic code now blocks all writers from standard write paths. So we add blocking of all writers coming from ioctl (we get a protection of ioctl against racing remount read-only as a bonus) and convert xfs_file_aio_write() to a non-racy freeze protection. We also keep freeze protection on transaction start to block internal filesystem writes such as removal of preallocated blocks. CC: Ben Myers CC: Alex Elder CC: xfs@oss.sgi.com Signed-off-by: Jan Kara Signed-off-by: Al Viro --- Reading git-diff-tree failed