From: Andrew Morton Signed-off-by: Andrew Morton --- fs/reiser4/ktxnmgrd.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/reiser4/ktxnmgrd.c~reiser4-swsusp-process-freezing-remove-smp-races-fix fs/reiser4/ktxnmgrd.c --- 25/fs/reiser4/ktxnmgrd.c~reiser4-swsusp-process-freezing-remove-smp-races-fix 2005-07-26 21:21:20.000000000 -0700 +++ 25-akpm/fs/reiser4/ktxnmgrd.c 2005-07-26 21:22:39.000000000 -0700 @@ -107,7 +107,7 @@ ktxnmgrd(void *arg) int result; /* software suspend support. */ - if (me->flags & PF_FREEZE) { + if (freezing(me)) { spin_unlock(&ctx->guard); refrigerator(); spin_lock(&ctx->guard); _