Whamcloud - gitweb
LU-13765 osd-ldiskfs: Rename dt_declare_falloc to dt_declare_fallocate 09/40509/2
authorArshad Hussain <arshad.super@gmail.com>
Sun, 1 Nov 2020 03:33:13 +0000 (09:03 +0530)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Nov 2020 08:13:57 +0000 (08:13 +0000)
commit6a2b9ef84274e319bce9a367cb0261aff3ae636b
tree62f20fd73125a5cbd4e0cf643c08fc39026a56eb
parentd633172a38519aba2585c2a1fdcdd821cb19010c
LU-13765 osd-ldiskfs: Rename dt_declare_falloc to dt_declare_fallocate

This patch is the follow up of the patch: 93f700ca24
(LU-13765 osd-ldiskfs: Extend credit correctly for fallocate) and
it makes these changes:

01. Rename dt_declare_falloc() to dt_declare_fallocate()
for better readability.

02. Removes fallocate mode check under osd_fallocate()
as mode check is already done under declare phase.

03. Minor space/tabs changes

Test-Parameters: trivial testlist=sanity ostsizegb=12 env=ONLY="150e"
Test-Parameters: testlist=sanity-quota
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Change-Id: If911a59a9c944e660e9926f4c436a4aeb2919284
Reviewed-on: https://review.whamcloud.com/40509
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/dt_object.h
lustre/ofd/ofd_objects.c
lustre/osd-ldiskfs/osd_io.c