diff options
| author | Jan Kara <[email protected]> | 2012-06-12 14:20:38 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2012-07-31 05:45:48 +0000 |
| commit | 8e8ad8a57c75f3bda2d03a4c4396a9a7024ad275 (patch) | |
| tree | 8d1fd1d0f296d2a2977b54dee5740d855dfa031e /net/unix/af_unix.c | |
| parent | fs: Protect write paths by sb_start_write - sb_end_write (diff) | |
| download | kernel-8e8ad8a57c75f3bda2d03a4c4396a9a7024ad275.tar.gz kernel-8e8ad8a57c75f3bda2d03a4c4396a9a7024ad275.zip | |
ext4: Convert to new freezing mechanism
We remove most of frozen checks since upper layer takes care of blocking all
writes. We have to handle protection in ext4_page_mkwrite() in a special way
because we cannot use generic block_page_mkwrite(). Also we add a freeze
protection to ext4_evict_inode() so that iput() of unlinked inode cannot modify
a frozen filesystem (we cannot easily instrument ext4_journal_start() /
ext4_journal_stop() with freeze protection because we are missing the
superblock pointer in ext4_journal_stop() in nojournal mode).
CC: [email protected]
CC: "Theodore Ts'o" <[email protected]>
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]>
Acked-by: "Theodore Ts'o" <[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
