]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Convert to new freezing mechanism
authorJan Kara <jack@suse.cz>
Tue, 12 Jun 2012 14:20:41 +0000 (16:20 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 31 Jul 2012 05:45:50 +0000 (09:45 +0400)
commit505901555cd589f1a8c7585218973f69aa73e65c
treeea0be08c4c0fc1f022683b9e0fb43f27ee866e7c
parent95e8860212a3c4a29fd03d14923e25d4b98de8a9
gfs2: Convert to new freezing mechanism

We update gfs2_page_mkwrite() to use new freeze protection and the transaction
code to use freeze protection while the transaction is running. That is needed
to stop iput() of unlinked file from modifying the filesystem. The rest is
handled by the generic code.

CC: cluster-devel@redhat.com
CC: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/gfs2/file.c
fs/gfs2/trans.c