question about nfs_execute_read: why do we need to do lock_kernel?

From: Xin Zhao
Date: Tue Apr 25 2006 - 00:57:32 EST


This question may be dumb. But I am curious why in nfs_execute_read()
function, rpc_execute is bracketed with lock_kernel() and
unlock_kernel()?

Thanks in advance for your help!

xin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/