From 35acfa0fc609f2a2cd95cef4a6a9c3a5c38f1778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sat, 26 Dec 2015 16:00:37 -0300 Subject: Add support for the exFAT file system, fix hangs on older intel hardware and update AUFS --- fs/aufs/dentry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fs/aufs/dentry.c') diff --git a/fs/aufs/dentry.c b/fs/aufs/dentry.c index c33fb8318..aad25be88 100644 --- a/fs/aufs/dentry.c +++ b/fs/aufs/dentry.c @@ -554,7 +554,9 @@ static int au_refresh_by_dinfo(struct dentry *dentry, struct au_dinfo *dinfo, struct dentry *dentry; struct inode *inode; mode_t mode; - } orig_h, tmp_h; + } orig_h, tmp_h = { + .dentry = NULL + }; struct au_hdentry *hd; struct inode *inode, *h_inode; struct dentry *h_dentry; @@ -568,10 +570,8 @@ static int au_refresh_by_dinfo(struct dentry *dentry, struct au_dinfo *dinfo, orig_h.inode = d_inode(orig_h.dentry); orig_h.mode = orig_h.inode->i_mode & S_IFMT; } - memset(&tmp_h, 0, sizeof(tmp_h)); if (tmp->di_bstart >= 0) { tmp_h.dentry = tmp->di_hdentry[tmp->di_bstart].hd_dentry; - tmp_h.inode = NULL; if (d_is_positive(tmp_h.dentry)) { tmp_h.inode = d_inode(tmp_h.dentry); tmp_h.mode = tmp_h.inode->i_mode & S_IFMT; -- cgit v1.2.3