summaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorDiangang Li <lidiangang@bytedance.com>2025-03-11 05:13:10 +0300
committerTheodore Ts'o <tytso@mit.edu>2025-03-18 07:15:25 +0300
commit5f1cf94d80208f5baa203f10fa762d3f0b567ad8 (patch)
tree15f92e15aebf50121bdcc550eada03f0361b6070 /drivers/mtd/lpddr/lpddr_cmds.c
parent743717670a36b80dfd43896dac5074f8ba5f163f (diff)
downloadlinux-5f1cf94d80208f5baa203f10fa762d3f0b567ad8.tar.xz
ext4: clear DISCARD flag if device does not support discard
commit 79add3a3f795e ("ext4: notify when discard is not supported") noted that keeping the DISCARD flag is for possibility that the underlying device might change in future even without file system remount. However, this scenario has rarely occurred in practice on the device side. Even if it does occur, it can be resolved with remount. Clearing the DISCARD flag not only prevents confusion caused by mount options but also avoids sending unnecessary discard commands. Signed-off-by: Diangang Li <lidiangang@bytedance.com> Link: https://patch.msgid.link/20250311021310.669524-1-lidiangang@bytedance.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions