git.openpandora.org
/
pandora-kernel.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
[pandora-kernel.git]
/
fs
/
ufs
/
truncate.c
diff --git
a/fs/ufs/truncate.c
b/fs/ufs/truncate.c
index
f04f89f
..
92cde99
100644
(file)
--- a/
fs/ufs/truncate.c
+++ b/
fs/ufs/truncate.c
@@
-496,7
+496,7
@@
int ufs_setattr(struct dentry *dentry, struct iattr *attr)
unsigned int ia_valid = attr->ia_valid;
int error;
- error =
inode_change_ok(inode
, attr);
+ error =
setattr_prepare(dentry
, attr);
if (error)
return error;