]> git.karo-electronics.de Git - karo-tx-linux.git/commit
logfs: check for the return value after calling find_or_create_page()
authorYounger Liu <liuyiyang@hisense.com>
Fri, 3 Jan 2014 03:10:06 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:06 +0000 (14:10 +1100)
commit30dc87d7144a5e050714b8fa4ba9802b1fc1f976
tree632696d49b0d4eae8c164b94f305c88ca63d8073
parent3209525859b52bd8d9445fb021f523f49082d468
logfs: check for the return value after calling find_or_create_page()

In get_mapping_page(), after calling find_or_create_page(), the return
value should be checked.

 This patch has been provided:
http://www.spinics.net/lists/linux-fsdevel/msg66948.html but not been
applied now.

Signed-off-by: Younger Liu <liuyiyang@hisense.com>
Cc: Younger Liu <younger.liucn@gmail.com>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Reviewed-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
Cc: Jörn Engel <joern@logfs.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/logfs/segment.c