summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/locks.h
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-01-13 03:14:04 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2023-01-31 10:47:45 -0800
commitb1c5ef26e4e80277641afcfedffe598c3023c095 (patch)
tree670bff7fdd893a8700da92319410981fed40c800 /fs/ocfs2/locks.h
parentc1085957dece02bda586cbffc1328f3bca09325f (diff)
downloadlinux-stable-b1c5ef26e4e80277641afcfedffe598c3023c095.tar.gz
linux-stable-b1c5ef26e4e80277641afcfedffe598c3023c095.tar.bz2
linux-stable-b1c5ef26e4e80277641afcfedffe598c3023c095.zip
f2fs: return true if all cmd were issued or no cmd need to be issued for f2fs_issue_discard_timeout()
f2fs_issue_discard_timeout() returns whether discard cmds are dropped, which does not match the meaning of the function. Let's change it to return whether all discard cmd are issued. After commit 4d67490498ac ("f2fs: Don't create discard thread when device doesn't support realtime discard"), f2fs_issue_discard_timeout() is alse called by f2fs_remount(). Since the comments of f2fs_issue_discard_timeout() doesn't make much sense, let's update it. Signed-off-by: Yangtao Li <frank.li@vivo.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/ocfs2/locks.h')
0 files changed, 0 insertions, 0 deletions