Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106355
b: refs/heads/master
c: 1bd5191
h: refs/heads/master
i:
  106353: 1145aa6
  106351: 8b433d2
v: v3
  • Loading branch information
Miklos Szeredi authored and Al Viro committed Jul 27, 2008
1 parent 9c38466 commit d734fca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9043476f726802f4b00c96d0c4f418dde48d1304
refs/heads/master: 1bd5191d9f5d1928c4efdf604c4164b04bb88dbe
2 changes: 1 addition & 1 deletion trunk/fs/hpfs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ static int hpfs_unlink(struct inode *dir, struct dentry *dentry)
d_drop(dentry);
spin_lock(&dentry->d_lock);
if (atomic_read(&dentry->d_count) > 1 ||
permission(inode, MAY_WRITE, NULL) ||
generic_permission(inode, MAY_WRITE, NULL) ||
!S_ISREG(inode->i_mode) ||
get_write_access(inode)) {
spin_unlock(&dentry->d_lock);
Expand Down

0 comments on commit d734fca

Please sign in to comment.