xfs: Add pquota fields where gquota is used.
[linux-block.git] / fs / xfs / xfs_icache.c
index 96e344e3e9277fdc0bb307d04d8945d81602c70a..3f90e1ceb8d68c4655bb033da592f495b91e9772 100644 (file)
@@ -335,7 +335,9 @@ xfs_iget_cache_miss(
        iflags = XFS_INEW;
        if (flags & XFS_IGET_DONTCACHE)
                iflags |= XFS_IDONTCACHE;
-       ip->i_udquot = ip->i_gdquot = NULL;
+       ip->i_udquot = NULL;
+       ip->i_gdquot = NULL;
+       ip->i_pdquot = NULL;
        xfs_iflags_set(ip, iflags);
 
        /* insert the new inode */