Whamcloud - gitweb
b=1614
authorbraam <braam>
Fri, 8 Aug 2003 09:51:03 +0000 (09:51 +0000)
committerbraam <braam>
Fri, 8 Aug 2003 09:51:03 +0000 (09:51 +0000)
commit2c67aa322f1dbf79134d49848ec6f9a99c90c3c7
treebe82d36971b26bc283feb5ba9f671af2df5f0ed2
parent1541b7144144e84921c13c406efe415265da54ae
b=1614
r=phil

This bug fix was complicated by the fact that many code paths that
never had run now execute.  We changed intent error returns (already
committed), and error returns inside mds_open.

This includes a kernel fix but no version change, as I made it
backward compatible.

Fixes for open:
 - kernel passes FMODE_EXEC to lustre, which sends it to MDS
 - move all open/close code to mds_open.c, make almost everything static
 - arrange for allow/deny/get/put write access in mds
 - fix several problems with error handling in mds_dentry_open:
   - don't do a wrong mntput
   - do a dget for readability
 - add test to sanityN and sanity
 - simplify confusing permission checking in mds_open with helper
lustre/mds/mds_internal.h