Whamcloud - gitweb
LU-5564 mdt: skip permission check for close 34/15534/8
authorHongchao Zhang <hongchao.zhang@intel.com>
Mon, 30 May 2016 16:10:37 +0000 (00:10 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 20 Jun 2016 00:59:00 +0000 (00:59 +0000)
commitabedce670d4f396443164bb582c7b58ec78ae7b7
tree482a49eb89fe10fe1db9fb201af243c7f19f531e
parent78fa16a2031b0b242e4d7bd441aba0956f9353d2
LU-5564 mdt: skip permission check for close

When closing a file normally, skip the permission check
for open handle gives us permission.

Change-Id: I74271eb83cdd807940cb6ba37ede05fa9f9751ce
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-on: http://review.whamcloud.com/15534
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_lib.c