summaryrefslogtreecommitdiffstats
path: root/fs/hfs
diff options
context:
space:
mode:
authorVyacheslav Dubeyko <slava@dubeyko.com>2013-05-01 00:27:51 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-01 02:04:05 +0200
commiteb53b6db7a53642b80b0ca4885cb91d5c7dbc0f8 (patch)
tree172238481b52168e21aab3fb41ba31226ff2b850 /fs/hfs
parentnilfs2: fix using of PageLocked() in nilfs_clear_dirty_page() (diff)
downloadlinux-eb53b6db7a53642b80b0ca4885cb91d5c7dbc0f8.tar.xz
linux-eb53b6db7a53642b80b0ca4885cb91d5c7dbc0f8.zip
nilfs2: remove unneeded test in nilfs_writepage()
page->mapping->host cannot be NULL in nilfs_writepage(), so remove the unneeded test. The fixes the smatch warning: "fs/nilfs2/inode.c:211 nilfs_writepage() error: we previously assumed 'inode' could be null (see line 195)". Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com> Cc: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions