git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'topic/asoc' into for-linus
[pandora-kernel.git]
/
fs
/
smbfs
/
proc.c
diff --git
a/fs/smbfs/proc.c
b/fs/smbfs/proc.c
index
ee536e8
..
9468168
100644
(file)
--- a/
fs/smbfs/proc.c
+++ b/
fs/smbfs/proc.c
@@
-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;