diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-08-30 12:35:49 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-08-30 12:35:49 +0200 |
commit | 3fd8a8041b3775840c8f85b6338b61beb5057160 (patch) | |
tree | 2eb4fd3eae3168ae2837c4f98188fd25f62d5939 /fs/bfs/inode.c | |
parent | 1c9a341bbdc14051a4d8c74ea67269786c7d3736 (diff) | |
parent | 6d52825fd4e78b251f4844f6662a3bc4e31671c7 (diff) |
Merge tag 'asoc-v3.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Updates for v3.12
A few more updates for v3.12, mostly small cleanups plus the addition of
the DT bindings for kirkwood and the new i.MX S/PDIF driver.
Diffstat (limited to 'fs/bfs/inode.c')
-rw-r--r-- | fs/bfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c index 5e376bb93419..8defc6b3f9a2 100644 --- a/fs/bfs/inode.c +++ b/fs/bfs/inode.c @@ -40,7 +40,7 @@ struct inode *bfs_iget(struct super_block *sb, unsigned long ino) int block, off; inode = iget_locked(sb, ino); - if (IS_ERR(inode)) + if (!inode) return ERR_PTR(-ENOMEM); if (!(inode->i_state & I_NEW)) return inode; |