]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/gfs2/sys.c
GFS2: Clean up freeze code
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 11 Jan 2013 10:49:34 +0000 (10:49 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 29 Jan 2013 10:29:05 +0000 (10:29 +0000)
commitd564053f074634e7a966359dc97d26900fa5f52d
treef54424be9e9cff603d2a8b83be5557fc93bcf987
parentc76c4d96bdd89027306cebc80eb3397286d8da66
GFS2: Clean up freeze code

The freeze code has not been looked at a lot recently. Upstream has
moved on, and this is an attempt to catch us back up again. There
is a vfs level interface for the freeze code which can be called
from our (obsolete, but kept for backward compatibility purposes)
sysfs freeze interface. This means freezing this way vs. doing it
from the ioctl should now work in identical fashion.

As a result of this, the freeze function is only called once
and we can drop our own special purpose code for counting the
number of freezes.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/incore.h
fs/gfs2/ops_fstype.c
fs/gfs2/super.c
fs/gfs2/super.h
fs/gfs2/sys.c