rename generic_setattr

Despite its name it's now a generic implementation of ->setattr, but
rather a helper to copy attributes from a struct iattr to the inode.
Rename it to setattr_copy to reflect this fact.

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Christoph Hellwig 2010-06-04 11:30:00 +02:00 • committed by Al Viro
commit 6a1a90ad1b
8 changed files with 14 additions and 15 deletions

View file

@ -395,8 +395,7 @@ int simple_setattr(struct dentry *dentry, struct iattr *iattr)
return error;
}
generic_setattr(inode, iattr);
setattr_copy(inode, iattr);
return error;
}
EXPORT_SYMBOL(simple_setattr);