diff options
author | Louis Rilling <louis.rilling@kerlabs.com> | 2008-08-15 12:37:23 -0700 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-08-22 11:09:02 -0700 |
commit | de6bf18e9ce0df807dab08cff08751cac383429d (patch) | |
tree | 3e60e9f88b4da4711a34df273c99a348bdc10236 /security/security.c | |
parent | 9780eb6cfaf7d2d5ccc061eaf94e7aec6a17791e (diff) |
[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 <louis.rilling@kerlabs.com>
Signed-off-by: Joel Becker <Joel.Becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions