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
/
fat
/
file.c
diff --git
a/fs/fat/file.c
b/fs/fat/file.c
index
c118acf
..
ef4753e
100644
(file)
--- a/
fs/fat/file.c
+++ b/
fs/fat/file.c
@@
-382,7
+382,7
@@
int fat_setattr(struct dentry *dentry, struct iattr *attr)
attr->ia_valid &= ~TIMES_SET_FLAGS;
}
- error =
inode_change_ok(inode
, attr);
+ error =
setattr_prepare(dentry
, attr);
attr->ia_valid = ia_valid;
if (error) {
if (sbi->options.quiet)