aboutsummaryrefslogtreecommitdiff
path: root/include/linux/backing-dev.h
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-09-05 12:28:27 +0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:34:03 +0200
commitdd5cd87a70ed2cc3eb935c125ff885ba2ce98964 (patch)
tree378b91e4d71374b493860d63813cf91a80cafb7b /include/linux/backing-dev.h
parent40cafcaa1a860c8f2dcce35677e766b2af6c3bb4 (diff)
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 'include/linux/backing-dev.h')
0 files changed, 0 insertions, 0 deletions