]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Revert "UBUNTU: SAUCE: (no-up) aufs: for v4.9-rc1, support setattr_prepare()"
authorSeth Forshee <seth.forshee@canonical.com>
Mon, 6 Feb 2017 15:44:08 +0000 (09:44 -0600)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
This reverts commit c1450ea4cd2095f8819c4f9ed1ac8a5ecbf6903e.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
fs/aufs/i_op.c

index 1be7da841c1280f5bb6fd3a8fdbf504e73843e6f..b6902aa32a2ab2f45e82cd96f70ba694a1af612a 100644 (file)
@@ -888,10 +888,6 @@ static int aufs_setattr(struct dentry *dentry, struct iattr *ia)
        inode = d_inode(dentry);
        IMustLock(inode);
 
-       err = setattr_prepare(dentry, ia);
-       if (unlikely(err))
-               goto out;
-
        err = -ENOMEM;
        a = kzalloc(sizeof(*a), GFP_NOFS);
        if (unlikely(!a))