From 985ef6b2108ed28ffd5f6630e1e0fce2e2a775f2 Mon Sep 17 00:00:00 2001 From: Anton Arapov Date: Wed, 12 Sep 2012 09:18:33 +0200 Subject: fedora kernel: 021ce7bee3cfdcbf16da1256b2c9f40f7e9bbd9e Signed-off-by: Anton Arapov --- net/sunrpc/sched.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/sunrpc/sched.c') diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index 994cfea2bad..eda32ae7dec 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -790,7 +790,9 @@ void rpc_execute(struct rpc_task *task) static void rpc_async_schedule(struct work_struct *work) { + current->flags |= PF_FSTRANS; __rpc_execute(container_of(work, struct rpc_task, u.tk_work)); + current->flags &= ~PF_FSTRANS; } /** -- cgit