The Samba-Bugzilla – Attachment 6046 Details for
Bug 6003
"get quota command" cannot determine which partition to check.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for Samba 3.5.6
sysquotas.c.diff (text/plain), 771 bytes, created by
TAKAHASHI Motonobu
on 2010-11-03 09:55:53 UTC
(
hide
)
Description:
Patch for Samba 3.5.6
Filename:
MIME Type:
Creator:
TAKAHASHI Motonobu
Created:
2010-11-03 09:55:53 UTC
Size:
771 bytes
patch
obsolete
>--- sysquotas.c 2010-11-01 11:31:47.000000000 +0900 >+++ sysquotas.c.org 2010-11-01 11:16:26.000000000 +0900 >@@ -416,17 +416,17 @@ > if (!path||!dp) > smb_panic("sys_get_quota: called with NULL pointer"); > >- if ((ret=sys_path_to_bdev(path,&mntpath,&bdev,&fs))!=0) { >- DEBUG(0,("sys_path_to_bdev() failed for path [%s]!\n",path)); >- return ret; >- } >- >- if (command_get_quota(bdev, qtype, id, dp)==0) { >+ if (command_get_quota(path, qtype, id, dp)==0) { > return 0; > } else if (errno != ENOSYS) { > return -1; > } > >+ if ((ret=sys_path_to_bdev(path,&mntpath,&bdev,&fs))!=0) { >+ DEBUG(0,("sys_path_to_bdev() failed for path [%s]!\n",path)); >+ return ret; >+ } >+ > errno = 0; > DEBUG(10,("sys_get_quota() uid(%u, %u)\n", (unsigned)getuid(), (unsigned)geteuid())); >
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 6003
: 6046