Whamcloud - gitweb
LU-6142 llite: create file_operations registeration function. 08/40608/6
authorJames Simmons <jsimmons@infradead.org>
Thu, 4 Feb 2021 14:48:15 +0000 (09:48 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 13 Mar 2021 18:33:26 +0000 (18:33 +0000)
commitcfa2c25f1b9b03442cf354bccd062088983057b9
treec5c0929caa0d0516ffc81458c36e57770345d7b2
parent110fbf9f76006d240751f2902c4017ba84adc6ca
LU-6142 llite: create file_operations registeration function.

Create new ll_register_file_operations() to set sbi->ll_ops to the
correct struct file_operations. We can make all the struct
file_operations static.

Change-Id: I0369a4f64de5233d5272bc403f222366f9559000
Test-Parameters: trivial
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/40608
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c