Message ID | 1390573045-10067-3-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/ubuntu/aufs/file.c b/ubuntu/aufs/file.c index a4f33aa..c3229b0 100644 --- a/ubuntu/aufs/file.c +++ b/ubuntu/aufs/file.c @@ -85,7 +85,7 @@ struct file *au_h_open(struct dentry *dentry, aufs_bindex_t bindex, int flags, goto out_br; } } - fsnotify_open(h_dentry); + fsnotify_open(h_file); goto out; /* success */ out_br:
CVE-2013-0160 BugLink: http://bugs.launchpad.net/bugs/1097680 After upstream commit 2a12a9d7814631e918dec93abad856e692d5286d ("fsnotify: pass a file instead of an inode to open, read, and write"), function fsnotify_open() expects to receive a 'struct file *' and not a 'struct dentry *'. This patch fixes the AUFS call to this function. Signed-off-by: Luis Henriques <luis.henriques@canonical.com> --- ubuntu/aufs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)