commit | 4af2b156ffa2d50ebfc9207e667d18d5a7a1ae45 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat May 10 17:29:18 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue May 13 10:12:57 2014 -0400 |
tree | cf2448f5e6d739323e6f1418f1203166a9f25ccb | |
parent | 68ba77caa72aa91eb9473e624657c16cda8c361d [diff] |
quota: fix memory leak in quota_compare_and_update() The quota_handle wasn't getting closed in quota_compare_and_update(). Fix this, and also make sure that quota_file_close() doesn't unnecessarily modify the quota inode if it's not necessary. Otherwise e2fsck will claim that the file system is modified when it didn't need to be. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Aditya Kali <adityakali@google.com>