ext4: fix project quota accounting without quota limits enabled
authorWang Shilong <wshilong@ddn.com>
Wed, 6 Jul 2016 01:33:52 +0000 (21:33 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 6 Jul 2016 01:33:52 +0000 (21:33 -0400)
commit079788d01e7ba9d7366d7bd2a0db9cab5944e85b
treeedadef9bd88b7f49d8304bf23ce705feacd14409
parent5b9554dc5bf008ae7f68a52e3d7e76c0920938a2
ext4: fix project quota accounting without quota limits enabled

We should always transfer quota accounting, regardless of whether
quota limits are enabled.

Steps to reproduce:
  # mkfs.ext4 /dev/sda4 -O quota,project
  # mount /dev/sda4 /mnt/test
  # cp /bin/bash /mnt/test
  # chattr -p 123 /mnt/test/bash
  # quota -v -P 123

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ioctl.c