Whamcloud - gitweb
LU-12137 osd-ldiskfs: migrate ll_lookup_one_len to osd_compat.c 54/35454/2
authorJames Simmons <uja.ornl@yahoo.com>
Wed, 10 Jul 2019 14:18:03 +0000 (10:18 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 20 Jul 2019 18:39:10 +0000 (18:39 +0000)
commit49f51ae420912b0259f9b9648cff32534fe11b50
treef8b5bc908c9dc2439848a12343fa5c2452080280
parenta412f1876fac9c6c4e77a8fdd6c51c4afe03031a
LU-12137 osd-ldiskfs: migrate ll_lookup_one_len to osd_compat.c

The function ll_lookup_one_len() in lvfs.h is only used for the
osd-ldiskfs layer so relocate it to osd_compat.c and rename it
to osd_lookup_one_len_unlocked(). We use unlocked in the name
since this signifies it must always be called with the inode lock
not taken since it will take the inode lock itself.

Test-Parameters: trivial

Change-Id: I507100a676f98448f4cacc94e902294903a67efb
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/35454
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lvfs.h
lustre/osd-ldiskfs/osd_compat.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_oi.c