+7
−10
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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 <louis.rilling@kerlabs.com>
Signed-off-by:
Joel Becker <Joel.Becker@oracle.com>
Signed-off-by:
Mark Fasheh <mfasheh@suse.com>