s3: Add support for storing dos attributes as st_flags in the stat struct.
authorTim Prouty <tprouty@samba.org>
Wed, 5 Nov 2008 21:40:03 +0000 (13:40 -0800)
committerTim Prouty <tprouty@samba.org>
Wed, 12 Nov 2008 17:48:50 +0000 (09:48 -0800)
commitd38bffd4126062b92384f0930196059441a2d765
tree4723e7edd92eaf95c5096afb1ff45ab29359ccbe
parent7f36d3b55051150b9d4fa75af424898f48c48771
s3: Add support for storing dos attributes as st_flags in the stat struct.

Some filesystems have support for storing dos attributes directly in
the inode's st_flags and accessing them through the stat struct.  This
patch:

- Adds a configure check to see if the special flags are available.
- Implements getting and setting dos attributes in the stat struct and
  inode, respectively.

This will not change the existing functionality of any system that
doesn't have the special flags available.
source3/configure.in
source3/smbd/dosmode.c