lkml.org 
[lkml]   [2000]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcheck_lock() in d_move() and switch_names()?
Hi,

The check for BKL in d_move() and switch_names() seem to be unnecessary as
d_move() takes dcache_lock and switch_names() is only called by
d_move(). So, if the callers take BKL just for the sake of d_move() they
do not need to, but if, for other reasons, then that is fine. In any case,
the checks in both functions can be removed, imho. Opinions?

Regards.
Tigran

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

\
 
 \ /
  Last update: 2005-03-22 12:51    [W:0.064 / U:3.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site