X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=fs%2Fdquot.c;h=5e95261005b2ac68f2103ae7468f257c57ba89da;hb=25051158bbed127e8672b43396c71c5eb610e5f1;hp=da30a27f2242c7e2e844b630ea02d12474ce7fdd;hpb=b73c29f6b0ddbcf07b43c5c5e6354e5839b5e68d;p=safe%2Fjmp%2Flinux-2.6 diff --git a/fs/dquot.c b/fs/dquot.c index da30a27..5e95261 100644 --- a/fs/dquot.c +++ b/fs/dquot.c @@ -1805,19 +1805,19 @@ int vfs_quota_on_path(struct super_block *sb, int type, int format_id, } /* Actual function called from quotactl() */ -int vfs_quota_on(struct super_block *sb, int type, int format_id, char *path, +int vfs_quota_on(struct super_block *sb, int type, int format_id, char *name, int remount) { - struct nameidata nd; + struct path path; int error; if (remount) return vfs_quota_on_remount(sb, type); - error = path_lookup(path, LOOKUP_FOLLOW, &nd); + error = kern_path(name, LOOKUP_FOLLOW, &path); if (!error) { - error = vfs_quota_on_path(sb, type, format_id, &nd.path); - path_put(&nd.path); + error = vfs_quota_on_path(sb, type, format_id, &path); + path_put(&path); } return error; }