]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/hpfs/super.c
Merge branch 'master' into next
[linux-2.6-omap-h63xx.git] / fs / hpfs / super.c
index b8ae9c90ada0e9a7c9fbd9a93a6d5ddb8d8eb276..0d049b8919c42ed1c62871f26815994a5f00e254 100644 (file)
@@ -215,7 +215,7 @@ enum {
        Opt_timeshift, Opt_err,
 };
 
-static match_table_t tokens = {
+static const match_table_t tokens = {
        {Opt_help, "help"},
        {Opt_uid, "uid=%u"},
        {Opt_gid, "gid=%u"},
@@ -475,8 +475,8 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent)
 
        init_MUTEX(&sbi->hpfs_creation_de);
 
-       uid = current->uid;
-       gid = current->gid;
+       uid = current_uid();
+       gid = current_gid();
        umask = current->fs->umask;
        lowercase = 0;
        conv = CONV_BINARY;