diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-06-10 05:30:17 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-06-10 05:30:17 -0300 |
commit | d635711daa98be86d4c7fd01499c34f566b54ccb (patch) | |
tree | aa5cc3760a27c3d57146498cb82fa549547de06c /fs/aufs/hfsnotify.c | |
parent | c91265cd0efb83778f015b4d4b1129bd2cfd075e (diff) |
Linux-libre 4.6.2-gnu
Diffstat (limited to 'fs/aufs/hfsnotify.c')
-rw-r--r-- | fs/aufs/hfsnotify.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/aufs/hfsnotify.c b/fs/aufs/hfsnotify.c index c0a1a63a9..07b4ecc53 100644 --- a/fs/aufs/hfsnotify.c +++ b/fs/aufs/hfsnotify.c @@ -50,8 +50,6 @@ static int au_hfsn_alloc(struct au_hinode *hinode) lockdep_off(); err = fsnotify_add_mark(mark, br->br_hfsn->hfsn_group, hinode->hi_inode, /*mnt*/NULL, /*allow_dups*/1); - /* even if err */ - fsnotify_put_mark(mark); lockdep_on(); return err; @@ -73,6 +71,7 @@ static int au_hfsn_free(struct au_hinode *hinode, struct au_hnotify *hn) spin_unlock(&mark->lock); lockdep_off(); fsnotify_destroy_mark(mark, group); + fsnotify_put_mark(mark); fsnotify_put_group(group); lockdep_on(); |