Re: [PATCH] btrfs-progs: doc: fix btrfs-inspect-internal rootid doc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017/08/25 2:37, David Sterba wrote:
On Thu, Aug 24, 2017 at 04:39:53PM +0900, Misono, Tomohiro wrote:
"btrfs inspect-internal rootid <path>" rejects a file to be specified in
the implementation.
Therefore change "file or directory" to "directory" in the doc.

Is there a reason why a file should not be accepted? The ioctl supports
that just fine.



I thought ioctl would work for file, but current code checks whether <path> is directory or not in the first place. So, I change the doc.

If it is better to change the code rather than the doc, I will do that. What do you think?

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux