mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
btrfs: remove stale comments about fs_mutex
The fs_mutex has been killed in 2008, a213501153
("Btrfs: Replace
the big fs_mutex with a collection of other locks"), still remembered in
some comments.
We don't have any extra needs for locking in the ACL handlers.
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
88c14590cd
commit
e7ab0af6c3
1 changed files with 0 additions and 8 deletions
|
@ -65,9 +65,6 @@ struct posix_acl *btrfs_get_acl(struct inode *inode, int type)
|
||||||
return acl;
|
return acl;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Needs to be called with fs_mutex held
|
|
||||||
*/
|
|
||||||
static int __btrfs_set_acl(struct btrfs_trans_handle *trans,
|
static int __btrfs_set_acl(struct btrfs_trans_handle *trans,
|
||||||
struct inode *inode, struct posix_acl *acl, int type)
|
struct inode *inode, struct posix_acl *acl, int type)
|
||||||
{
|
{
|
||||||
|
@ -127,11 +124,6 @@ int btrfs_set_acl(struct inode *inode, struct posix_acl *acl, int type)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* btrfs_init_acl is already generally called under fs_mutex, so the locking
|
|
||||||
* stuff has been fixed to work with that. If the locking stuff changes, we
|
|
||||||
* need to re-evaluate the acl locking stuff.
|
|
||||||
*/
|
|
||||||
int btrfs_init_acl(struct btrfs_trans_handle *trans,
|
int btrfs_init_acl(struct btrfs_trans_handle *trans,
|
||||||
struct inode *inode, struct inode *dir)
|
struct inode *inode, struct inode *dir)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue