xfs_io: allow resvsp command for foreign filesystems
PATCH 1/1 xfs_io: allow resvsp command for foreign filesystems
Recent kernels implement the RESVP ioctl in common code, so using command for non-XFS filesystems is fine.
Signed-off-by Christoph Hellwig <[email protected]>
io/prealloc.c +1 -1
@@ -182,7 +182,7 @@ prealloc_init(void) resvsp_cmd.cfunc = resvsp_f; resvsp_cmd.argmin =2 ; resvsp_cmd.argmax =2 ; - resvsp_cmd.flags =CMD_NOMAP_OK ; + resvsp_cmd.flags =CMD_NOMAP_OK |CMD_FOREIGN_OK ; resvsp_cmd.args =_ ("off len" ); resvsp_cmd.oneline =_ ("reserves space associated with part of a file" );
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 5 lines · ----- "Christoph Hellwig
Recent kernels implement the RESVP ioctl in common code, so using command for non-XFS filesystems is fine.
Signed-off-by Christoph Hellwig <[email protected]>
Looks good.
Reviewed-by Nathan Scott <[email protected]>
cheers.
Signature · 6 lines
Nathan _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs