From: Jan Kara Date: Tue, 12 Jun 2012 14:20:35 +0000 (+0200) Subject: fs: Add freezing handling to mnt_want_write() / mnt_drop_write() X-Git-Tag: v3.6-rc1~18^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb04c28288bb0098d0e75d81ba2a575239de71d8;p=pandora-kernel.git fs: Add freezing handling to mnt_want_write() / mnt_drop_write() Most of places where we want freeze protection coincides with the places where we also have remount-ro protection. So make mnt_want_write() and mnt_drop_write() (and their _file alternative) prevent freezing as well. For the few cases that are really interested only in remount-ro protection provide new function variants. BugLink: https://bugs.launchpad.net/bugs/897421 Tested-by: Kamal Mostafa Tested-by: Peter M. Petrakis Tested-by: Dann Frazier Tested-by: Massimo Morana Signed-off-by: Jan Kara Signed-off-by: Al Viro --- Reading git-diff-tree failed