projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: lustre: mdc: use __FMODE_EXEC macro
[deliverable/linux.git]
/
drivers
/
staging
/
lustre
/
lustre
/
mdc
/
mdc_locks.c
diff --git
a/drivers/staging/lustre/lustre/mdc/mdc_locks.c
b/drivers/staging/lustre/lustre/mdc/mdc_locks.c
index b58147ee62b663bed211e3cd7ec150d2246faef4..8c9b4f5494e9e09d4b9ac6ac3c8de0b45bd4bc78 100644
(file)
--- a/
drivers/staging/lustre/lustre/mdc/mdc_locks.c
+++ b/
drivers/staging/lustre/lustre/mdc/mdc_locks.c
@@
-296,10
+296,8
@@
static struct ptlrpc_request *mdc_intent_open_pack(struct obd_export *exp,
} else {
if (it->it_flags & (FMODE_WRITE|MDS_OPEN_TRUNC))
mode = LCK_CW;
-#ifdef FMODE_EXEC
- else if (it->it_flags & FMODE_EXEC)
+ else if (it->it_flags & __FMODE_EXEC)
mode = LCK_PR;
-#endif
else
mode = LCK_CR;
}
This page took
0.026778 seconds
and
5
git commands to generate.