)]}'
{
  "commit": "02b7ee4eb613240d2bb3f6a67723f94ceda19eb6",
  "tree": "c56da9d29420041929a4eb00d817b48fa7dea482",
  "parents": [
    "7ac6eb46c9f32d3e6ae37943191cd744ffa1ef33"
  ],
  "author": {
    "name": "Darrick J. Wong",
    "email": "djwong@kernel.org",
    "time": "Tue Jan 26 17:20:42 2021 -0800"
  },
  "committer": {
    "name": "Darrick J. Wong",
    "email": "djwong@kernel.org",
    "time": "Wed Feb 03 09:18:49 2021 -0800"
  },
  "message": "xfs: reserve data and rt quota at the same time\n\nModify xfs_trans_reserve_quota_nblks so that we can reserve data and\nrealtime blocks from the dquot at the same time.  This change has the\ntheoretical side effect that for allocations to realtime files we will\nreserve from the dquot both the number of rtblocks being allocated and\nthe number of bmbt blocks that might be needed to add the mapping.\nHowever, since the mount code disables quota if it finds a realtime\ndevice, this should not result in any behavior changes.\n\nNow that we\u0027ve moved the inode creation callers away from using the\n_nblks function, we can repurpose the (now unused) ninos argument for\nrealtime blocks, so make that change.  This also replaces the flags\nargument with a boolean parameter to force the reservation since we\ndon\u0027t need to distinguish between data and rt quota reservations any\nmore, and the only flag being passed in was FORCE_RES.\n\nSigned-off-by: Darrick J. Wong \u003cdjwong@kernel.org\u003e\nReviewed-by: Christoph Hellwig \u003chch@lst.de\u003e\nReviewed-by: Brian Foster \u003cbfoster@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "be51e7068dcdf9b1dcbbad9ffd16812792c8f707",
      "old_mode": 33188,
      "old_path": "fs/xfs/libxfs/xfs_attr.c",
      "new_id": "e05dc0bc4a8f68db55fa5a98ac3a5fecef43624c",
      "new_mode": 33188,
      "new_path": "fs/xfs/libxfs/xfs_attr.c"
    },
    {
      "type": "modify",
      "old_id": "94d582a9587dfc076c6548b522f28b0303ed825d",
      "old_mode": 33188,
      "old_path": "fs/xfs/libxfs/xfs_bmap.c",
      "new_id": "6e6734398f0da1d5e48751693d8d5e9224293d35",
      "new_mode": 33188,
      "new_path": "fs/xfs/libxfs/xfs_bmap.c"
    },
    {
      "type": "modify",
      "old_id": "ae2d98af693cb5fd59902ca1f07e20d3cc742d2f",
      "old_mode": 33188,
      "old_path": "fs/xfs/xfs_bmap_util.c",
      "new_id": "ef8f7055af77548a7eb5c3e7e67b527ab98b23f4",
      "new_mode": 33188,
      "new_path": "fs/xfs/xfs_bmap_util.c"
    },
    {
      "type": "modify",
      "old_id": "b046eadd3b2189ce3a9df93221c41833db47a302",
      "old_mode": 33188,
      "old_path": "fs/xfs/xfs_iomap.c",
      "new_id": "fba7303d8ed604ccd0c37f6f0d5e5919d017b55c",
      "new_mode": 33188,
      "new_path": "fs/xfs/xfs_iomap.c"
    },
    {
      "type": "modify",
      "old_id": "03235c184aab3a2bd4900455904e4654c6b0f2de",
      "old_mode": 33188,
      "old_path": "fs/xfs/xfs_quota.h",
      "new_id": "6ddc4b358ede129167cf583e602f07027cb552b6",
      "new_mode": 33188,
      "new_path": "fs/xfs/xfs_quota.h"
    },
    {
      "type": "modify",
      "old_id": "15435229bc1f22c8a38ba0f87dd1214c2b2554f4",
      "old_mode": 33188,
      "old_path": "fs/xfs/xfs_reflink.c",
      "new_id": "0778b5810c26936940e77b56718993a118aa1d79",
      "new_mode": 33188,
      "new_path": "fs/xfs/xfs_reflink.c"
    },
    {
      "type": "modify",
      "old_id": "22aa875b84f7dc5dfe0f817b80a437cd950d6978",
      "old_mode": 33188,
      "old_path": "fs/xfs/xfs_trans_dquot.c",
      "new_id": "a1a72b7900c5a0cfd9a85332d339b1218163a9d8",
      "new_mode": 33188,
      "new_path": "fs/xfs/xfs_trans_dquot.c"
    }
  ]
}
