[PATCH] xfs_quota: correctly initialise the default path

Mark Tinguely tinguely at sgi.com
Mon Nov 19 21:41:51 CST 2012


On 11/15/12 19:14, Dave Chinner wrote:
> From: Dave Chinner<dchinner at redhat.com>

> +	if (argc != optind)
> +		fs_path = fs_table_lookup(argv[optind], FS_MOUNT_POINT);

If specified device is not in the table, then the program will give an 
error before getting here, so this cannot return a NULL as I previously 
was concerned about. So this does in fact look good.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list