commit | ff0bc08454917964291f72ee5b8eca66de4bc250 | [log] [tgz] |
---|---|---|
author | Seth Forshee <seth.forshee@canonical.com> | Thu May 05 10:52:38 2016 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu May 05 10:52:38 2016 -0400 |
tree | 8293c7b58cf4a690da807a37c7bb281dc7723536 | |
parent | 7827a7f6ebfcb7f388dc47fddd48567a314701ba [diff] |
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>