]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: make is_multimedia_file code align with its name
authorNamjae Jeon <namjae.jeon@samsung.com>
Fri, 19 Apr 2013 16:27:21 +0000 (01:27 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 22 Apr 2013 23:56:21 +0000 (08:56 +0900)
commit0f36a39908cb29d62cc9434ed9d115fc273cddda
tree846716d7314bf03fe3657eaedd765e00983ceca2
parentbf22fa86332b16cb7d9b99a6d975da3c23d3035a
f2fs: make is_multimedia_file code align with its name

The code conditions put inside the function is_multimedia_file are
reverse to the name i.e, we need to negate the return to actually
check if the file is a multimedia file. So, change the code and usage
path to align both the name and comparision conditions.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/namei.c