From: Artem Bityutskiy Date: Thu, 12 Jul 2012 14:28:47 +0000 (+0300) Subject: hfs: simplify a bit checking for R/O X-Git-Tag: v3.6-rc1~152^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4527440d5db8ff27ae8801de3f819843a1e6c6f6;p=pandora-kernel.git hfs: simplify a bit checking for R/O We have the following pattern in 2 places in HFS if (!RDONLY) hfs_mdb_commit(); This patch pushes the RDONLY check down to 'hfs_mdb_commit()'. This will make the following patches a bit simpler. Signed-off-by: Artem Bityutskiy Signed-off-by: Al Viro --- Reading git-diff-tree failed