]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/jfs/jfs_inode.c
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
[linux-2.6-omap-h63xx.git] / fs / jfs / jfs_inode.c
index ed6574bee51a211ea1c46f82e04d01625308577b..70022fd1c5399f0b6c85ec0d5ceee8e13269cb0d 100644 (file)
@@ -93,13 +93,13 @@ struct inode *ialloc(struct inode *parent, umode_t mode)
                return ERR_PTR(rc);
        }
 
-       inode->i_uid = current->fsuid;
+       inode->i_uid = current_fsuid();
        if (parent->i_mode & S_ISGID) {
                inode->i_gid = parent->i_gid;
                if (S_ISDIR(mode))
                        mode |= S_ISGID;
        } else
-               inode->i_gid = current->fsgid;
+               inode->i_gid = current_fsgid();
 
        /*
         * New inodes need to save sane values on disk when