diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-27 13:08:51 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-12-08 09:15:06 +0100 |
commit | 8fc567bb97a8515ca43f9ca079259505a852ac1f (patch) | |
tree | 90a7f1176985c81c16ae81b2ead18e416f17ccc8 /source3/lib | |
parent | f1e9e0a81a70bae664122611e6a5104d15c550ab (diff) | |
download | samba-8fc567bb97a8515ca43f9ca079259505a852ac1f.tar.gz |
s3: "sys_path_to_bdev" only looks at the devicenumber
(cherry picked from commit 8a79bc673c5ee980a2389f47e32306848989af2a)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/sysquotas.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index d9bdbf402a6..3d4697c7dc4 100644 --- a/source3/lib/sysquotas.c +++ b/source3/lib/sysquotas.c @@ -60,7 +60,7 @@ static int sys_path_to_bdev(const char *path, char **mntpath, char **bdev, char (*bdev) = NULL; (*fs) = NULL; - if ( sys_stat(path, &S, lp_fake_dir_create_times()) == -1 ) + if ( sys_stat(path, &S, false) == -1 ) return (-1); devno = S.st_ex_dev ; @@ -71,8 +71,7 @@ static int sys_path_to_bdev(const char *path, char **mntpath, char **bdev, char } while ((mnt = getmntent(fp))) { - if ( sys_stat(mnt->mnt_dir, &S, lp_fake_dir_create_times()) - == -1 ) + if ( sys_stat(mnt->mnt_dir, &S, false) == -1 ) continue ; if (S.st_ex_dev == devno) { @@ -115,7 +114,7 @@ static int sys_path_to_bdev(const char *path, char **mntpath, char **bdev, char /* find the block device file */ - if ((ret=sys_stat(path, &S, lp_fake_dir_create_times()))!=0) { + if ((ret=sys_stat(path, &S, false))!=0) { return ret; } |