aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMiklos Szeredi <[email protected]>2022-02-18 11:47:51 +0100
committerMiklos Szeredi <[email protected]>2022-02-18 11:47:51 +0100
commita679a61520d8a7b0211a1da990404daf5cc80b72 (patch)
treeb6d8b941ed48b25b693b1a0dc74c2fe7dcaa1d72 /tools/perf/scripts/python/export-to-sqlite.py
parent754e0b0e35608ed5206d6a67a791563c631cec07 (diff)
fuse: fix fileattr op failure
The fileattr API conversion broke lsattr on ntfs3g. Previously the ioctl(... FS_IOC_GETFLAGS) returned an EINVAL error, but after the conversion the error returned by the fuse filesystem was not propagated back to the ioctl() system call, resulting in success being returned with bogus values. Fix by checking for outarg.result in fuse_priv_ioctl(), just as generic ioctl code does. Reported-by: Jean-Pierre AndrĂ© <[email protected]> Fixes: 72227eac177d ("fuse: convert to fileattr") Cc: <[email protected]> # v5.13 Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions