Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32960
b: refs/heads/master
c: 344fe78
h: refs/heads/master
v: v3
  • Loading branch information
Josh Triplett authored and Linus Torvalds committed Jul 31, 2006
1 parent 659ed8e commit 55ac7b0
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: 0bee8d28496a8c76b488a2c29e01a0ebc1411475
refs/heads/master: 344fe78669d2d1cff9e8939598f6d0d865b6a75b
3 changes: 2 additions & 1 deletion trunk/fs/ufs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static int ufs_symlink (struct inode * dir, struct dentry * dentry,
struct inode * inode;

if (l > sb->s_blocksize)
goto out;
goto out_notlocked;

lock_kernel();
inode = ufs_new_inode(dir, S_IFLNK | S_IRWXUGO);
Expand All @@ -155,6 +155,7 @@ static int ufs_symlink (struct inode * dir, struct dentry * dentry,
err = ufs_add_nondir(dentry, inode);
out:
unlock_kernel();
out_notlocked:
return err;

out_fail:
Expand Down

0 comments on commit 55ac7b0

Please sign in to comment.