]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: lustre: llite: pass in __u64 pos for ll_dir_read
authorwang di <di.wang@intel.com>
Fri, 22 Jul 2016 02:44:10 +0000 (22:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 16:31:07 +0000 (18:31 +0200)
commit218ba48524ae1ac88e239aa2dbcf6017120dc180
tree8bbc784dba72524e7d32504beab7d3ab9471ba92
parent26f5c084c6cf87de694d62308a97293158e10c37
staging: lustre: llite: pass in __u64 pos for ll_dir_read

Some cases we want to preserve the ctx->pos value or use
a different value altogther. So allow the passing in of
a position offset to ll_dir_read.

Signed-off-by: wang di <di.wang@intel.com>
Reviewed-on: http://review.whamcloud.com/10761
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dir.c
drivers/staging/lustre/lustre/llite/llite_internal.h
drivers/staging/lustre/lustre/llite/llite_nfs.c