summaryrefslogtreecommitdiffstats
path: root/fs/adfs
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-03-02 00:09:33 +0100
committerRichard Weinberger <richard@nod.at>2015-03-26 23:27:48 +0100
commit4c6dcafc691bbd1e3258b623121d8859d3213ae9 (patch)
treeda299aa878b61b977bd501d0cfcc481ddcb49121 /fs/adfs
parentaf9556586a906106453ff7df8bcacf795b2b7d0a (diff)
downloadlinux-4c6dcafc691bbd1e3258b623121d8859d3213ae9.tar.bz2
hostfs: Allow fsync on directories
Historically hostfs did not open directories on the host filesystem for performance and memory reasons. But it turned out that this optimization has a drawback. Calling fsync() on a hostfs directory returns immediately with -EINVAL as fsync is not implemented. While this is behavior is strictly speaking correct common userspace like dpkg(1) stumbles over that and makes it impossible to use hostfs as root filesystem. The fix is easy, wire up the existing host open/fsync functions to the directory file operations. Reported-by: Daniel Gröber <dxld@darkboxed.org> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/adfs')
0 files changed, 0 insertions, 0 deletions