diff --git a/[refs] b/[refs] index cefc4e468d24..6a0c510afb4c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0bee8d28496a8c76b488a2c29e01a0ebc1411475 +refs/heads/master: 344fe78669d2d1cff9e8939598f6d0d865b6a75b diff --git a/trunk/fs/ufs/namei.c b/trunk/fs/ufs/namei.c index abd5f23a426d..d344b411e261 100644 --- a/trunk/fs/ufs/namei.c +++ b/trunk/fs/ufs/namei.c @@ -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); @@ -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: