]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix memory leak when quota options are specified multiple times
authorChen Gang <gang.chen@asianux.com>
Fri, 25 Jan 2013 04:24:58 +0000 (23:24 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 25 Jan 2013 04:24:58 +0000 (23:24 -0500)
commita4fe56acf8aedb525885a33f98ef7565e1195492
treeec0e96ef39fc4e561aa5bd05238b40a0e8e82005
parenta1fc99994941d4ff1567ae2c623da0d0b324a4ac
ext4: fix memory leak when quota options are specified multiple times

When usrjquota or grpjquota mount options are specified several times,
we leak memory storing the names. Free the memory correctly.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/super.c