Messages in this thread | | | Date | Thu, 11 Feb 2021 15:38:13 +0000 | From | Christoph Hellwig <> | Subject | Re: [PATCH 1/2] quota: Add mountpath based quota support |
| |
> + if (!mountpoint) > + return -ENODEV; > + > + ret = user_path_at(AT_FDCWD, mountpoint, > + LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT, &mountpath);
user_path_at handles an empty path, although you'll get EFAULT instead. Do we care about the -ENODEV here?
Otherwise this looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
| |