diff options
Diffstat (limited to 'fs/hpfs')
| -rw-r--r-- | fs/hpfs/namei.c | 2 | ||||
| -rw-r--r-- | fs/hpfs/super.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/hpfs/namei.c b/fs/hpfs/namei.c index d256559b4104..d9c59a775449 100644 --- a/fs/hpfs/namei.c +++ b/fs/hpfs/namei.c | |||
| @@ -415,7 +415,7 @@ again: | |||
| 415 | d_drop(dentry); | 415 | d_drop(dentry); |
| 416 | spin_lock(&dentry->d_lock); | 416 | spin_lock(&dentry->d_lock); |
| 417 | if (atomic_read(&dentry->d_count) > 1 || | 417 | if (atomic_read(&dentry->d_count) > 1 || |
| 418 | permission(inode, MAY_WRITE, NULL) || | 418 | generic_permission(inode, MAY_WRITE, NULL) || |
| 419 | !S_ISREG(inode->i_mode) || | 419 | !S_ISREG(inode->i_mode) || |
| 420 | get_write_access(inode)) { | 420 | get_write_access(inode)) { |
| 421 | spin_unlock(&dentry->d_lock); | 421 | spin_unlock(&dentry->d_lock); |
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c index f63a699ec659..b8ae9c90ada0 100644 --- a/fs/hpfs/super.c +++ b/fs/hpfs/super.c | |||
| @@ -173,7 +173,7 @@ static void hpfs_destroy_inode(struct inode *inode) | |||
| 173 | kmem_cache_free(hpfs_inode_cachep, hpfs_i(inode)); | 173 | kmem_cache_free(hpfs_inode_cachep, hpfs_i(inode)); |
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | static void init_once(struct kmem_cache *cachep, void *foo) | 176 | static void init_once(void *foo) |
| 177 | { | 177 | { |
| 178 | struct hpfs_inode_info *ei = (struct hpfs_inode_info *) foo; | 178 | struct hpfs_inode_info *ei = (struct hpfs_inode_info *) foo; |
| 179 | 179 | ||
