commit | f681eb1d5c02c9e79775e10363057d034c720efc | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Mon Jun 05 22:44:49 2017 +0300 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Tue Jul 04 22:03:15 2017 +0200 |
tree | ea4f2c8b94ba19eacdd56a912a59187d3122ae17 | |
parent | 7f53b7d047d221b9fe38b9f2203bd4499135be88 [diff] |
ovl: fix nlink leak in ovl_rename() This patch fixes an overlay inode nlink leak in the case where ovl_rename() renames over a non-dir. This is not so critical, because overlay inode doesn't rely on nlink dropping to zero for inode deletion. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>