projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'jk/vfs' into work.misc
[linux-2.6-block.git]
/
mm
/
shmem.c
diff --git
a/mm/shmem.c
b/mm/shmem.c
index 971fc83e6402858dd558d0f04609ddad38373eb4..898a6f224187ad66551420a004ef0cbead080a09 100644
(file)
--- a/
mm/shmem.c
+++ b/
mm/shmem.c
@@
-960,7
+960,7
@@
static int shmem_setattr(struct dentry *dentry, struct iattr *attr)
struct shmem_sb_info *sbinfo = SHMEM_SB(inode->i_sb);
int error;
- error =
inode_change_ok(inode
, attr);
+ error =
setattr_prepare(dentry
, attr);
if (error)
return error;