mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
staging/lustre: MAY_NOT_BLOCK is always defined, don't check for it.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8e80aa294d
commit
2c3856dc11
1 changed files with 0 additions and 2 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue