Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a39de15 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Jan Kara
Browse files

quota: return -ENOMEM when memory allocation fails



Signed-off-by: default avatarDavidlohr Bueso <dave@gnu.org>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 2aa15890
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ static int v2_read_file_info(struct super_block *sb, int type)
	if (!info->dqi_priv) {
		printk(KERN_WARNING
		       "Not enough memory for quota information structure.\n");
		return -1;
		return -ENOMEM;
	}
	qinfo = info->dqi_priv;
	if (version == 0) {