Seth Forshee ff0bc08454 ext4: fix check of dqget() return value in ext4_ioctl_setproject()
A failed call to dqget() returns an ERR_PTR() and not null. Fix
the check in ext4_ioctl_setproject() to handle this correctly.

Fixes: 9b7365fc1c82 ("ext4: add FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface support")
Cc: stable@vger.kernel.org # v4.5
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
2016-05-05 10:52:38 -04:00
..
2015-04-02 23:47:42 -04:00
2015-04-02 23:47:42 -04:00
2016-01-27 20:35:55 +08:00
2016-01-27 20:35:55 +08:00
2016-01-27 20:35:55 +08:00
2015-04-02 23:47:42 -04:00
2016-03-09 23:49:05 -05:00
2016-02-22 22:35:22 -05:00