orangefs: split out dir from regular file open and release

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
orangefs: remove noatime and nodiratime mount options

noatime and noatime are binary mount flags that the mount binary
passes as flags to mount syscall, which are then consumed by the
VFS.  Additional text options will not even be set by mount.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
orangefs: remove suid mount option

suid/nosuid is another binary mount option parsed by the VFS.  Note that
the VFS option just disables enforcing the suid bit, not showing it in the
stat data.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
orangefs: only set up s_xattr at mount time

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
orangefs: use file_accessed for all atime updates

This lets the VFS handle the various noatime options and gets orangefs out
of the business second guessing it.

In the case of readdir the common code already calls file_accessed so the
call can simply be removed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>