Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfefdd9
)
- small simplification in filter_setattr_internal()
author
yury
<yury>
Tue, 13 Dec 2005 09:05:02 +0000
(09:05 +0000)
committer
yury
<yury>
Tue, 13 Dec 2005 09:05:02 +0000
(09:05 +0000)
lustre/obdfilter/filter.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter.c
b/lustre/obdfilter/filter.c
index
2f6c647
..
27896a7
100644
(file)
--- a/
lustre/obdfilter/filter.c
+++ b/
lustre/obdfilter/filter.c
@@
-2063,7
+2063,7
@@
int filter_setattr_internal(struct obd_export *exp, struct dentry *dentry,
FSFILT_OP_SETATTR, oti, 1);
/* update inode EA only once */
- if (inode->i_mode &
S_ISUID || inode->i_mode & S_ISGID
)
+ if (inode->i_mode &
(S_ISUID | S_ISGID)
)
filter_update_fidea(exp, inode, handle, oa);
} else {
handle = fsfilt_start(exp->exp_obd, inode,