[PATCH] xfsprogs: allow xfs_freeze to work on non-xfs filesystems

Bill O'Donnell billodo at sgi.com
Thu Jan 15 04:48:15 CST 2009


On Wed, Jan 14, 2009 at 05:05:24PM -0600, Eric Sandeen wrote:
| 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 at sandeen.net>
| ---
                                                                  
Reviewed-by: Bill O'Donnell <billodo at sgi.com>





More information about the xfs mailing list