Re: [PATCH 2/2] [RFC] Remove BKL from fs/locks.c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Brad Boyer
Date: Wednesday, April 14, 2010 - 9:14 pm

On Wed, Apr 14, 2010 at 10:36:24PM +0200, Arnd Bergmann wrote:

Don't we need to have access to this new lock from modules? In particular,
nfsd/lockd currently call lock_kernel to be able to safely access i_flock.
This would seem to imply that they would either need new functions inside
locks.c to do the same work or export the new lock functions. It seems
easiest to just do EXPORT_SYMBOL on the new lock/unlock functions added
in this patch, but I do understand if that isn't desireable.

	Brad Boyer
	flar@allandria.com

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] [RFC] block: replace BKL with global mutex, Arnd Bergmann, (Wed Apr 14, 1:36 pm)
[PATCH 2/2] [RFC] Remove BKL from fs/locks.c, Arnd Bergmann, (Wed Apr 14, 1:36 pm)
Re: [PATCH 2/2] [RFC] Remove BKL from fs/locks.c, Trond Myklebust, (Wed Apr 14, 1:52 pm)
Re: [PATCH 2/2] [RFC] Remove BKL from fs/locks.c, J. Bruce Fields, (Wed Apr 14, 2:04 pm)
Re: [PATCH 1/2] [RFC] block: replace BKL with global mutex, Douglas Gilbert, (Wed Apr 14, 3:48 pm)
Re: [PATCH 2/2] [RFC] Remove BKL from fs/locks.c, Brad Boyer, (Wed Apr 14, 9:14 pm)
Re: [PATCH 1/2] [RFC] block: replace BKL with global mutex, Arnd Bergmann, (Thu Apr 15, 12:11 am)
Re: [PATCH 1/2] [RFC] block: replace BKL with global mutex, Douglas Gilbert, (Thu Apr 15, 6:15 am)
Re: [PATCH 2/2] [RFC] Remove BKL from fs/locks.c, Steven Whitehouse, (Thu Apr 15, 7:48 am)
Re: [PATCH 2/2] [RFC] Remove BKL from fs/locks.c, Arnd Bergmann, (Thu Apr 15, 8:17 am)
Re: [PATCH 2/2] [RFC] Remove BKL from fs/locks.c, Arnd Bergmann, (Thu Apr 15, 1:36 pm)
[PATCH] scsi/st: remove BKL from open, Arnd Bergmann, (Thu Apr 15, 1:51 pm)
Re: [PATCH] scsi/st: remove BKL from open, Frederic Weisbecker, (Thu Apr 29, 7:18 pm)