summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorTomasz Majchrzak <tomasz.majchrzak@intel.com>2016-11-29 15:18:20 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-23 05:03:06 +0100
commite522751d605d99a81508e58390a8f51ee96fb662 (patch)
tree0369ee45c1983b85350a85be34de5e7304dc1d03 /.gitattributes
parentvfs: fix isize/pos/len checks for reflink & dedupe (diff)
downloadlinux-e522751d605d99a81508e58390a8f51ee96fb662.tar.xz
linux-e522751d605d99a81508e58390a8f51ee96fb662.zip
seq_file: reset iterator to first record for zero offset
If kernfs file is empty on a first read, successive read operations using the same file descriptor will return no data, even when data is available. Default kernfs 'seq_next' implementation advances iterator position even when next object is not there. Kernfs 'seq_start' for following requests will not return iterator as position is already on the second object. This defect doesn't allow to monitor badblocks sysfs files from MD raid. They are initially empty but if data appears at some stage, userspace is not able to read it. Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions