]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
allow xfs_freeze to freeze "foreign" filesystems
authorEric Sandeen <sandeen@sandeen.net>
Tue, 10 Feb 2009 20:41:51 +0000 (14:41 -0600)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 10 Feb 2009 20:41:51 +0000 (14:41 -0600)
commitcd67dabbce2a01ab7f3da2effce3a252ae25248a
tree21589e3fe818c6728f9f5b7bbda53539fc99c9b3
parentc77d2d0211334f8bc9158233681d1ac35dd0595f
allow xfs_freeze to freeze "foreign" filesystems

Now that the freeze ioctl has been elevated to the VFS,
let's let xfs_io and xfs_freeze freeze other filesystems
as well - add the CMD_FOREIGN_OK flag to freeze & thaw.

I think the worst that will happen on older kernels is that
the command will fail with ENOSYS or EINVAL....

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
io/freeze.c
io/xfs_freeze.sh
man/man8/xfs_freeze.8