Whamcloud - gitweb
checking permission should be part of 'open' part of mds_open, not 'lookup'
authorshadow <shadow>
Thu, 30 Jul 2009 10:06:14 +0000 (10:06 +0000)
committershadow <shadow>
Thu, 30 Jul 2009 10:06:14 +0000 (10:06 +0000)
commit0fbe658cae75356c2942d98c59c46a39d662239f
treec5d6e487854aec4c3829a6ad16454172be6c6465
parent1f4e7c95545922bfbe61e84f721c30101ff46585
checking permission should be part of 'open' part of mds_open, not 'lookup'
part, so server should be set DISP_OPEN_OPEN disposition before perform
permission check.
Also don not need call revalidate dentry if client already have LOOKUP lock.

Branch b1_8
b=17545
i=green
i=panda
lustre/ChangeLog
lustre/llite/dcache.c
lustre/mds/mds_open.c