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 /fs/ocfs2 | |
parent | 9780eb6cfaf7d2d5ccc061eaf94e7aec6a17791e (diff) | |
download | kernel_samsung_smdk4412-de6bf18e9ce0df807dab08cff08751cac383429d.zip kernel_samsung_smdk4412-de6bf18e9ce0df807dab08cff08751cac383429d.tar.gz kernel_samsung_smdk4412-de6bf18e9ce0df807dab08cff08751cac383429d.tar.bz2 |
[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 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions