From: Louis Rilling Date: Fri, 15 Aug 2008 19:37:23 +0000 (-0700) Subject: [PATCH] configfs: Consolidate locking around configfs_detach_prep() in configfs_rmdir() X-Git-Tag: v2.6.27-rc5~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de6bf18e9ce0df807dab08cff08751cac383429d;p=pandora-kernel.git [PATCH] configfs: Consolidate locking around configfs_detach_prep() in configfs_rmdir() It appears that configfs_rmdir() can protect configfs_detach_prep() retries with less calls to {spin,mutex}_{lock,unlock}, and a cleaner code. This patch does not change any behavior, except that it removes two useless lock/unlock pairs having nothing inside to protect and providing a useless barrier. Signed-off-by: Louis Rilling Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed