afs: Don't call afs_sync_file() from afs_write_begin()
Don't call afs_sync_file() from afs_write_begin() as this will end up with
a deadlock because the caller of afs_write_begin() holds the inode mutex.
Instead, flush out the single conflicting writeback directly.
Signed-off-by: David Howells <dhowells@redhat.com>
Showing
Please register or sign in to comment