use generic_file_llseek for directories
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Christoph Hellwig
XFS currently doesn't set up a .llseek for directories and thus defaults to
default_llseek.default_llseekonly takes the BKL which means there is not exclusion vsxfs_readdirand thus we get a risk of corrupting the file position. Additionallydefault_llseekonly allows seeks to 32bit offsets by default.
Al put this change into mainline as part of fixing up various filesystems in the meantime.