gpfs: fix logic when gpfs:winattr is false (the default!)
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 20 Nov 2009 09:39:57 +0000 (10:39 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 10 Mar 2010 12:22:17 +0000 (13:22 +0100)
commit448e76df2eb5b9bdb1e6dfc72664d81395960e58
tree82c2d869e44cb75f15a3f789e7da74ac900b1408
parent8eab8d37a5dd7ab79da9a0a1d72db1a2ef510d68
gpfs: fix logic when gpfs:winattr is false (the default!)

On my autocluster setup, it's not set.  Maybe it should be?  Otherwise
smbclient and some Windows client programs will get errors like:

        # smbclient //localhost/data -Uadministrator%XXX
        Domain=[VSOFS1] OS=[Unix] Server=[Samba 3.4.2-ctdb-10]
        smb: \> put /etc/resolv.conf resolv.conf
        NT_STATUS_ACCESS_DENIED closing remote file \resolv.conf
        smb: \>

Caused by attempting to update the time on close.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Michael Adam <obnox@samba.org>
source3/modules/vfs_gpfs.c