Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178911
b: refs/heads/master
c: e0baec1
h: refs/heads/master
i:
  178909: 06f7d91
  178907: 8ea4953
  178903: 31be217
  178895: c104389
  178879: f3f9c9a
v: v3
  • Loading branch information
Jiri Slaby authored and Frederic Weisbecker committed Jan 7, 2010
1 parent bce7980 commit 7c0ccbf
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 6c28705418de012216161b14a2ff1dda3da3d786
refs/heads/master: e0baec1b63632f25ea8101b76edaca0accc061ec
3 changes: 2 additions & 1 deletion trunk/fs/reiserfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
err = put_user(inode->i_generation, (int __user *)arg);
break;
case REISERFS_IOC_SETVERSION:
if (!is_owner_or_cap(inode))
if (!is_owner_or_cap(inode)) {
err = -EPERM;
break;
}
err = mnt_want_write(filp->f_path.mnt);
if (err)
break;
Expand Down

0 comments on commit 7c0ccbf

Please sign in to comment.