diff options
author | John Garry <john.g.garry@oracle.com> | 2024-07-10 10:31:19 +0000 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-09-03 10:07:39 +0530 |
commit | ca57120dfe2790a90fbafa3f7ced9c39d94d4698 (patch) | |
tree | 2630e3d871fded253baecf763de80c6b4769cb44 /fs/xfs/libxfs | |
parent | 9372dce08b346796b00239422fbb153e79bccead (diff) |
xfs: Use xfs set and clear mp state helpers
Use the set and clear mp state helpers instead of open-coding.
It is noted that in some instances calls to atomic operation set_bit() and
clear_bit() are being replaced with test_and_set_bit() and
test_and_clear_bit(), respectively, as there is no specific helpers for
set_bit() and clear_bit() only. However should be ok, as we are just
ignoring the returned value from those "test" variants.
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs')
0 files changed, 0 insertions, 0 deletions