diff options
Diffstat (limited to 'fs/ext2/acl.c')
| -rw-r--r-- | fs/ext2/acl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext2/acl.c b/fs/ext2/acl.c index 6af2f4130290..239133d01d91 100644 --- a/fs/ext2/acl.c +++ b/fs/ext2/acl.c | |||
| @@ -149,7 +149,7 @@ ext2_iset_acl(struct inode *inode, struct posix_acl **i_acl, | |||
| 149 | } | 149 | } |
| 150 | 150 | ||
| 151 | /* | 151 | /* |
| 152 | * inode->i_sem: don't care | 152 | * inode->i_mutex: don't care |
| 153 | */ | 153 | */ |
| 154 | static struct posix_acl * | 154 | static struct posix_acl * |
| 155 | ext2_get_acl(struct inode *inode, int type) | 155 | ext2_get_acl(struct inode *inode, int type) |
| @@ -211,7 +211,7 @@ ext2_get_acl(struct inode *inode, int type) | |||
| 211 | } | 211 | } |
| 212 | 212 | ||
| 213 | /* | 213 | /* |
| 214 | * inode->i_sem: down | 214 | * inode->i_mutex: down |
| 215 | */ | 215 | */ |
| 216 | static int | 216 | static int |
| 217 | ext2_set_acl(struct inode *inode, int type, struct posix_acl *acl) | 217 | ext2_set_acl(struct inode *inode, int type, struct posix_acl *acl) |
| @@ -301,8 +301,8 @@ ext2_permission(struct inode *inode, int mask, struct nameidata *nd) | |||
| 301 | /* | 301 | /* |
| 302 | * Initialize the ACLs of a new inode. Called from ext2_new_inode. | 302 | * Initialize the ACLs of a new inode. Called from ext2_new_inode. |
| 303 | * | 303 | * |
| 304 | * dir->i_sem: down | 304 | * dir->i_mutex: down |
| 305 | * inode->i_sem: up (access to inode is still exclusive) | 305 | * inode->i_mutex: up (access to inode is still exclusive) |
| 306 | */ | 306 | */ |
| 307 | int | 307 | int |
| 308 | ext2_init_acl(struct inode *inode, struct inode *dir) | 308 | ext2_init_acl(struct inode *inode, struct inode *dir) |
| @@ -361,7 +361,7 @@ cleanup: | |||
| 361 | * for directories) are added. There are no more bits available in the | 361 | * for directories) are added. There are no more bits available in the |
| 362 | * file mode. | 362 | * file mode. |
| 363 | * | 363 | * |
| 364 | * inode->i_sem: down | 364 | * inode->i_mutex: down |
| 365 | */ | 365 | */ |
| 366 | int | 366 | int |
| 367 | ext2_acl_chmod(struct inode *inode) | 367 | ext2_acl_chmod(struct inode *inode) |
