diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index c3b610b687d16679a6a519d9633952d5ee961b8f..03d942a21bcae3fe705f44dd0e379b1792cf5efc 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c @@ -440,10 +440,7 @@ xfs_log_reserve( ASSERT(*ticp == NULL); tic = xlog_ticket_alloc(log, unit_bytes, cnt, client, permanent, - KM_SLEEP | KM_MAYFAIL); - if (!tic) - return -ENOMEM; - + KM_SLEEP); *ticp = tic; xlog_grant_push_ail(log, tic->t_cnt ? tic->t_unit_res * tic->t_cnt