Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
afs: Fix the afs.cell and afs.volume xattr handlers
Fix the ->get handlers for the afs.cell and afs.volume xattrs to pass the source data size to memcpy() rather than target buffer size. Overcopying the source data occasionally causes the kernel to oops. Fixes: d3e3b7e ("afs: Add metadata xattrs") Signed-off-by: David Howells <dhowells@redhat.com>
- Loading branch information