Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243170
b: refs/heads/master
c: 3ab3564
h: refs/heads/master
v: v3
  • Loading branch information
Mark Fasheh authored and root committed Mar 28, 2011
1 parent 517e7e3 commit de95673
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: 75e7cb7fe0c391561bd3af36515be3f3c64a04c6
refs/heads/master: 3ab3564f018b9b265d0258e4a231794bacd5ad85
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -4817,7 +4817,7 @@ static int btrfs_link(struct dentry *old_dentry, struct inode *dir,

/* do not allow sys_link's with other subvols of the same device */
if (root->objectid != BTRFS_I(inode)->root->objectid)
return -EPERM;
return -EXDEV;

btrfs_inc_nlink(inode);
inode->i_ctime = CURRENT_TIME;
Expand Down

0 comments on commit de95673

Please sign in to comment.