]> Pileus Git - ~andy/linux/blobdiff - fs/9p/vfs_super.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile
[~andy/linux] / fs / 9p / vfs_super.c
index d6cb1a0ca724d772e2d8bec5093ea621bbe8d864..93212e40221ac10d39757a09cdacffb8fb922edb 100644 (file)
@@ -113,8 +113,8 @@ static int v9fs_get_sb(struct file_system_type *fs_type, int flags,
        struct v9fs_session_info *v9ses = NULL;
        struct p9_wstat *st = NULL;
        int mode = S_IRWXUGO | S_ISVTX;
-       uid_t uid = current->fsuid;
-       gid_t gid = current->fsgid;
+       uid_t uid = current_fsuid();
+       gid_t gid = current_fsgid();
        struct p9_fid *fid;
        int retval = 0;