Ecryptfs: avoid using 3rd arg to fsstack_copy_attr_all
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 24 Jun 2011 05:07:05 +0000 (01:07 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 20 Jun 2014 00:42:14 +0000 (20:42 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/ecryptfs/inode.c

index 58cd911abadc5e805a836156b5c595c78e14278b..92a3eb5ef803888f4661eb9f0ee92f792ddd43ea 100644 (file)
@@ -1015,7 +1015,7 @@ int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
                         ecryptfs_dentry_to_lower(dentry), &lower_stat);
        if (!rc) {
                fsstack_copy_attr_all(dentry->d_inode,
-                                     ecryptfs_inode_to_lower(dentry->d_inode), NULL);
+                                     ecryptfs_inode_to_lower(dentry->d_inode));
                generic_fillattr(dentry->d_inode, stat);
                stat->blocks = lower_stat.blocks;
        }