The Samba-Bugzilla – Attachment 13176 Details for
Bug 12758
Solaris disk quotas fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
disk quota fix
fix_solaris_quotas.patch (text/plain), 1.44 KB, created by
Jura Sasek
on 2017-04-26 21:43:51 UTC
(
hide
)
Description:
disk quota fix
Filename:
MIME Type:
Creator:
Jura Sasek
Created:
2017-04-26 21:43:51 UTC
Size:
1.44 KB
patch
obsolete
> > >--- a/source3/smbd/quotas.c 2017-04-26 11:57:07.061357855 +0000 >+++ b/source3/smbd/quotas.c 2017-04-26 12:04:40.103690322 +0000 >@@ -67,6 +67,7 @@ > > #if defined(SUNOS5) > >+#if defined(USE_OBSOLETED_SOLARIS_APIS) > /**************************************************************************** > Allows querying of remote hosts for quotas on NFS mounted shares. > Supports normal NFS and AMD mounts. >@@ -229,6 +230,7 @@ > DEBUG(10,("nfs_quotas: End of nfs_quotas\n" )); > return ret; > } >+#endif /* USE_OBSOLETED_SOLARIS_APIS */ > #endif > > /**************************************************************************** >@@ -277,7 +279,9 @@ > /* quotas are only on vxfs, UFS or NFS */ > if ((sbuf.st_ex_dev == devno) && ( > strcmp( mnt.mnt_fstype, MNTTYPE_UFS ) == 0 || >+ strcmp( mnt.mnt_fstype, "zfs" ) == 0 || > strcmp( mnt.mnt_fstype, "nfs" ) == 0 || >+ strcmp( mnt.mnt_fstype, "samfs" ) == 0 || > strcmp( mnt.mnt_fstype, "vxfs" ) == 0 )) { > found = true; > name = talloc_asprintf(talloc_tos(), >@@ -320,6 +324,7 @@ > become_root(); > > #if defined(SUNOS5) >+#if defined(USE_OBSOLETED_SOLARIS_APIS) > if (strcmp(mnt.mnt_fstype, "nfs") == 0) { > bool retval; > DEBUG(5,("disk_quotas: looking for mountpath (NFS) \"%s\"\n", >@@ -329,7 +334,7 @@ > unbecome_root(); > return retval; > } >- >+#endif /* USE_OBSOLETED_SOLARIS_APIS */ > DEBUG(5,("disk_quotas: looking for quotas file \"%s\"\n", name)); > if((file=open(name, O_RDONLY,0))<0) { > unbecome_root();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12758
: 13176