Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257307
b: refs/heads/master
c: 6f28610
h: refs/heads/master
i:
  257305: 4c63eb7
  257303: e212595
v: v3
  • Loading branch information
Al Viro committed Jul 20, 2011
1 parent 5c13c6f commit 8400b85
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: 4cf27141cbe0239f48ec6f0b37bad347d51d1785
refs/heads/master: 6f2861097467852f2271c2b40f9c3d1d01757048
2 changes: 1 addition & 1 deletion trunk/fs/udf/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ long udf_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
long old_block, new_block;
int result = -EINVAL;

if (file_permission(filp, MAY_READ) != 0) {
if (inode_permission(inode, MAY_READ) != 0) {
udf_debug("no permission to access inode %lu\n", inode->i_ino);
result = -EPERM;
goto out;
Expand Down

0 comments on commit 8400b85

Please sign in to comment.