Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1342731
| From | green@linuxhacker.ru |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 39/84] staging/lustre: MAY_NOT_BLOCK is always defined, don't check for it. |
| Date | 2016-02-25 04:20 +0100 |
| Message-ID | <r5UD8-6ag-21@gated-at.bofh.it> (permalink) |
| References | <r5Uts-5ZP-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
---
drivers/staging/lustre/lustre/llite/file.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/llite/file.c b/drivers/staging/lustre/lustre/llite/file.c
index bbe6ebf..ba65fc0 100644
--- a/drivers/staging/lustre/lustre/llite/file.c
+++ b/drivers/staging/lustre/lustre/llite/file.c
@@ -3071,10 +3071,8 @@ int ll_inode_permission(struct inode *inode, int mask)
{
int rc = 0;
-#ifdef MAY_NOT_BLOCK
if (mask & MAY_NOT_BLOCK)
return -ECHILD;
-#endif
/* as root inode are NOT getting validated in lookup operation,
* need to do it before permission check. */
--
2.1.0
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v2 39/84] staging/lustre: MAY_NOT_BLOCK is always defined, don't check for it. green@linuxhacker.ru - 2016-02-25 04:20 +0100
csiph-web