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
vfs: fix check_acl compile error when CONFIG_FS_POSIX_ACL is not set
[pandora-kernel.git]
/
fs
/
attr.c
diff --git
a/fs/attr.c
b/fs/attr.c
index
caf2aa5
..
538e279
100644
(file)
--- a/
fs/attr.c
+++ b/
fs/attr.c
@@
-232,17
+232,11
@@
int notify_change(struct dentry * dentry, struct iattr * attr)
if (error)
return error;
if (error)
return error;
- if (ia_valid & ATTR_SIZE)
- down_write(&dentry->d_inode->i_alloc_sem);
-
if (inode->i_op->setattr)
error = inode->i_op->setattr(dentry, attr);
else
error = simple_setattr(dentry, attr);
if (inode->i_op->setattr)
error = inode->i_op->setattr(dentry, attr);
else
error = simple_setattr(dentry, attr);
- if (ia_valid & ATTR_SIZE)
- up_write(&dentry->d_inode->i_alloc_sem);
-
if (!error)
fsnotify_change(dentry, ia_valid);
if (!error)
fsnotify_change(dentry, ia_valid);