diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-09-05 12:28:27 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-09-07 18:53:49 -0700 |
commit | 7732c26ac3925e2aebfa84e14673240201ddc9de (patch) | |
tree | 870a15762ccc2d3169439ff80984891b32bac37d /net/ceph | |
parent | 6ab2a3085eb3c0ad58fa47f827921d05e9ad2e06 (diff) | |
download | linux-7732c26ac3925e2aebfa84e14673240201ddc9de.tar.gz linux-7732c26ac3925e2aebfa84e14673240201ddc9de.tar.bz2 linux-7732c26ac3925e2aebfa84e14673240201ddc9de.zip |
f2fs: fix to detect temporary name of multimedia file
Some applications may create multimeida file with temporary name like
'*.jpg.tmp' or '*.mp4.tmp', then rename to '*.jpg' or '*.mp4'.
Now, f2fs can only detect multimedia filename with specified format:
"filename + '.' + extension", so it will make f2fs missing to detect
multimedia file with special temporary name, result in failing to set
cold flag on file.
This patch enhances detection flow for enabling lookup extension in the
middle of temporary filename.
Reported-by: Xue Liu <liuxueliu.liu@huawei.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions