projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: Give dentry to inode_change_ok() instead of inode
[linux-block.git]
/
fs
/
exofs
/
inode.c
diff --git
a/fs/exofs/inode.c
b/fs/exofs/inode.c
index 9dc4c6dbf3c99f012cb965e1aaba357fff6ce194..5e68daee5fe479fe9cb2dfc6fff27b8130986593 100644
(file)
--- a/
fs/exofs/inode.c
+++ b/
fs/exofs/inode.c
@@
-1034,7
+1034,7
@@
int exofs_setattr(struct dentry *dentry, struct iattr *iattr)
if (unlikely(error))
return error;
- error =
inode_change_ok(inode
, iattr);
+ error =
setattr_prepare(dentry
, iattr);
if (unlikely(error))
return error;