commit | a27202fbe92b12eec895c36644440175de01d7a6 | [log] [tgz] |
---|---|---|
author | Jim Meyering <jim@meyering.net> | Thu Apr 26 18:36:56 2012 +0200 |
committer | Josef Bacik <josef@redhat.com> | Wed May 30 10:23:31 2012 -0400 |
tree | 90e3dfc70f43afe69e1e8f11ad5be08549a0e614 | |
parent | f07c9a79f06cd33b1c9c2c4eacb60bafa7e3f310 [diff] |
Btrfs: NUL-terminate path buffer in DEV_INFO ioctl result A device with name of length BTRFS_DEVICE_PATH_NAME_MAX or longer would not be NUL-terminated in the DEV_INFO ioctl result buffer. Signed-off-by: Jim Meyering <meyering@redhat.com>