Loading fs/xfs/xfs_log.c +0 −1 Original line number Original line Diff line number Diff line Loading @@ -333,7 +333,6 @@ xfs_log_reserve( int retval = 0; int retval = 0; ASSERT(client == XFS_TRANSACTION || client == XFS_LOG); ASSERT(client == XFS_TRANSACTION || client == XFS_LOG); ASSERT((flags & XFS_LOG_NOSLEEP) == 0); if (XLOG_FORCED_SHUTDOWN(log)) if (XLOG_FORCED_SHUTDOWN(log)) return XFS_ERROR(EIO); return XFS_ERROR(EIO); Loading fs/xfs/xfs_log.h +0 −4 Original line number Original line Diff line number Diff line Loading @@ -55,14 +55,10 @@ static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2) /* /* * Flags to xfs_log_reserve() * Flags to xfs_log_reserve() * * * XFS_LOG_SLEEP: If space is not available, sleep (default) * XFS_LOG_NOSLEEP: If space is not available, return error * XFS_LOG_PERM_RESERV: Permanent reservation. When writes are * XFS_LOG_PERM_RESERV: Permanent reservation. When writes are * performed against this type of reservation, the reservation * performed against this type of reservation, the reservation * is not decreased. Long running transactions should use this. * is not decreased. Long running transactions should use this. */ */ #define XFS_LOG_SLEEP 0x0 #define XFS_LOG_NOSLEEP 0x1 #define XFS_LOG_PERM_RESERV 0x2 #define XFS_LOG_PERM_RESERV 0x2 /* /* Loading Loading
fs/xfs/xfs_log.c +0 −1 Original line number Original line Diff line number Diff line Loading @@ -333,7 +333,6 @@ xfs_log_reserve( int retval = 0; int retval = 0; ASSERT(client == XFS_TRANSACTION || client == XFS_LOG); ASSERT(client == XFS_TRANSACTION || client == XFS_LOG); ASSERT((flags & XFS_LOG_NOSLEEP) == 0); if (XLOG_FORCED_SHUTDOWN(log)) if (XLOG_FORCED_SHUTDOWN(log)) return XFS_ERROR(EIO); return XFS_ERROR(EIO); Loading
fs/xfs/xfs_log.h +0 −4 Original line number Original line Diff line number Diff line Loading @@ -55,14 +55,10 @@ static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2) /* /* * Flags to xfs_log_reserve() * Flags to xfs_log_reserve() * * * XFS_LOG_SLEEP: If space is not available, sleep (default) * XFS_LOG_NOSLEEP: If space is not available, return error * XFS_LOG_PERM_RESERV: Permanent reservation. When writes are * XFS_LOG_PERM_RESERV: Permanent reservation. When writes are * performed against this type of reservation, the reservation * performed against this type of reservation, the reservation * is not decreased. Long running transactions should use this. * is not decreased. Long running transactions should use this. */ */ #define XFS_LOG_SLEEP 0x0 #define XFS_LOG_NOSLEEP 0x1 #define XFS_LOG_PERM_RESERV 0x2 #define XFS_LOG_PERM_RESERV 0x2 /* /* Loading