Merge branch 'topic/asoc' into for-linus
[pandora-kernel.git] / fs / smbfs / proc.c
index ee536e8..9468168 100644 (file)
@@ -864,7 +864,7 @@ smb_newconn(struct smb_sb_info *server, struct smb_conn_opt *opt)
                goto out;
 
        error = -EACCES;
-       if (current->uid != server->mnt->mounted_uid && 
+       if (current_uid() != server->mnt->mounted_uid &&
            !capable(CAP_SYS_ADMIN))
                goto out;