]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nilfs2: Convert to new freezing mechanism
authorJan Kara <jack@suse.cz>
Tue, 12 Jun 2012 14:20:44 +0000 (16:20 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 31 Jul 2012 05:45:52 +0000 (09:45 +0400)
commit2c22b337b5bbb497c41b348b2357b7070ed5ba88
tree781ca4825fe6383254a8b8528b23115fd389c48e
parentfbf8fb76505a9e5bbb47e91d964105b6ea59b0ec
nilfs2: Convert to new freezing mechanism

We change nilfs_page_mkwrite() to provide proper freeze protection for
writeable page faults (we must wait for frozen filesystem even if the
page is fully mapped).

We remove all vfs_check_frozen() checks since they are now handled by
the generic code.

CC: linux-nilfs@vger.kernel.org
CC: KONISHI Ryusuke <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nilfs2/file.c
fs/nilfs2/ioctl.c
fs/nilfs2/segment.c