diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-27 00:32:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-27 00:32:40 -0400 |
commit | e12fab28df1d7ae9369839a3af260a41447a5e79 (patch) | |
tree | 2f638674612075002fb6cc5ad1201c701fe4c741 /fs | |
parent | 478a1469a7d27fe6b2f85fc801ecdeb8afc836e6 (diff) | |
parent | bbccb9c7bbeb6c78eb467c191c97360160f13704 (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge fixes from Andrew Morton:
"10 fixes"
* emailed patches from Andrew Morton <akpm@linux-foundation.org>:
drivers/pinctrl/intel/pinctrl-baytrail.c: fix build with gcc-4.4
update "mm/zsmalloc: don't fail if can't create debugfs info"
dma-debug: avoid spinlock recursion when disabling dma-debug
mm: oom_reaper: remove some bloat
memcg: fix mem_cgroup_out_of_memory() return value.
ocfs2: fix improper handling of return errno
mm: slub: remove unused virt_to_obj()
mm: kasan: remove unused 'reserved' field from struct kasan_alloc_meta
mm: make CONFIG_DEFERRED_STRUCT_PAGE_INIT depends on !FLATMEM explicitly
seqlock: fix raw_read_seqcount_latch()
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/inode.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index 0748777f2e2a..c56a7679df93 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c | |||
@@ -176,12 +176,7 @@ struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, unsigned flags, | |||
176 | } | 176 | } |
177 | if (is_bad_inode(inode)) { | 177 | if (is_bad_inode(inode)) { |
178 | iput(inode); | 178 | iput(inode); |
179 | if ((flags & OCFS2_FI_FLAG_FILECHECK_CHK) || | 179 | inode = ERR_PTR(rc); |
180 | (flags & OCFS2_FI_FLAG_FILECHECK_FIX)) | ||
181 | /* Return OCFS2_FILECHECK_ERR_XXX related errno */ | ||
182 | inode = ERR_PTR(rc); | ||
183 | else | ||
184 | inode = ERR_PTR(-ESTALE); | ||
185 | goto bail; | 180 | goto bail; |
186 | } | 181 | } |
187 | 182 | ||