-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LU-12137 osd-ldiskfs: migrate osd_ios_lookup_one_len() to osd_compat.c
The function osd_ios_lookup_one_len() was created for the LFSCK code to look for a dentry by name and if the inode of that dentry was NULL treat it as an -ENOENT so LFSCK would repair the file. This function will be used for more the scrub infrastructure in future patches so move it to osd_compat.c. Test-Parameters: trivial Change-Id: Ic34c1110f8ced7a4a2f7c0fa3b8a9403be9940ca Signed-off-by: James Simmons <[email protected]> Reviewed-on: https://review.whamcloud.com/35453 Tested-by: jenkins <[email protected]> Tested-by: Maloo <[email protected]> Reviewed-by: Neil Brown <[email protected]> Reviewed-by: Alex Zhuravlev <[email protected]> Reviewed-by: Andreas Dilger <[email protected]>
- Loading branch information
James Simmons
authored and
Oleg Drokin
committed
Jul 17, 2019
1 parent
076a596
commit 750fc5b
Showing
3 changed files
with
39 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters