diff options
| author | Jan Kara <[email protected]> | 2012-06-12 14:20:35 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2012-07-31 05:40:38 +0000 |
| commit | eb04c28288bb0098d0e75d81ba2a575239de71d8 (patch) | |
| tree | 82912fd7c78be269560a8af7d8516918c279255b /net/unix/af_unix.c | |
| parent | fs: Improve filesystem freezing handling (diff) | |
| download | kernel-eb04c28288bb0098d0e75d81ba2a575239de71d8.tar.gz kernel-eb04c28288bb0098d0e75d81ba2a575239de71d8.zip | |
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 <[email protected]>
Tested-by: Peter M. Petrakis <[email protected]>
Tested-by: Dann Frazier <[email protected]>
Tested-by: Massimo Morana <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
