Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4478fb1f authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Dave Chinner
Browse files

xfs: define XFS_IOC_FREEZE even if FIFREEZE is defined



And the same for XFS_IOC_THAW.  Just because we now have a common
version of the ioctl we still need to provide the old name for it
for anyone using those.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarEric Sandeen <sandeen@redhat.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent 0d5a75e9
Loading
Loading
Loading
Loading
+2 −6
Original line number Original line Diff line number Diff line
@@ -521,12 +521,8 @@ typedef struct xfs_swapext
#define XFS_IOC_ERROR_CLEARALL	     _IOW ('X', 117, struct xfs_error_injection)
#define XFS_IOC_ERROR_CLEARALL	     _IOW ('X', 117, struct xfs_error_injection)
/*	XFS_IOC_ATTRCTL_BY_HANDLE -- deprecated 118	 */
/*	XFS_IOC_ATTRCTL_BY_HANDLE -- deprecated 118	 */


/*	XFS_IOC_FREEZE		  -- FIFREEZE   119	 */
#define XFS_IOC_FREEZE		     _IOWR('X', 119, int)	/* aka FIFREEZE */
/*	XFS_IOC_THAW		  -- FITHAW     120	 */
#define XFS_IOC_THAW		     _IOWR('X', 120, int)	/* aka FITHAW */
#ifndef FIFREEZE
#define XFS_IOC_FREEZE		     _IOWR('X', 119, int)
#define XFS_IOC_THAW		     _IOWR('X', 120, int)
#endif


#define XFS_IOC_FSSETDM_BY_HANDLE    _IOW ('X', 121, struct xfs_fsop_setdm_handlereq)
#define XFS_IOC_FSSETDM_BY_HANDLE    _IOW ('X', 121, struct xfs_fsop_setdm_handlereq)
#define XFS_IOC_ATTRLIST_BY_HANDLE   _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq)
#define XFS_IOC_ATTRLIST_BY_HANDLE   _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq)