]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/hfsplus/options.c
CRED: Wrap task credential accesses in the HFSplus filesystem
[linux-2.6-omap-h63xx.git] / fs / hfsplus / options.c
index 9699c56d323f1d35a60f2beac0b31059a5207bac..bab7f8d1bdfa9f97ad8f3c85786daf9ecbc3c9df 100644 (file)
@@ -49,8 +49,8 @@ void hfsplus_fill_defaults(struct hfsplus_sb_info *opts)
        opts->creator = HFSPLUS_DEF_CR_TYPE;
        opts->type = HFSPLUS_DEF_CR_TYPE;
        opts->umask = current->fs->umask;
-       opts->uid = current->uid;
-       opts->gid = current->gid;
+       opts->uid = current_uid();
+       opts->gid = current_gid();
        opts->part = -1;
        opts->session = -1;
 }