]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/smbfs/proc.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux...
[linux-2.6-omap-h63xx.git] / fs / smbfs / proc.c
index ee536e8a649a28710fe89417265fc5bce0a1119d..9468168b9af5e6f22bdbcfb178d91d98d15a75d0 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;