projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into next
[linux-2.6-block.git]
/
fs
/
hfsplus
/
extents.c
diff --git
a/fs/hfsplus/extents.c
b/fs/hfsplus/extents.c
index fec8f61227ffb28792a7b94f30417f003d786882..0022eec63cdacd97c2a438b8d9f623ff6be88dd4 100644
(file)
--- a/
fs/hfsplus/extents.c
+++ b/
fs/hfsplus/extents.c
@@
-199,6
+199,9
@@
int hfsplus_get_block(struct inode *inode, sector_t iblock,
goto done;
}
+ if (inode->i_ino == HFSPLUS_EXT_CNID)
+ return -EIO;
+
mutex_lock(&HFSPLUS_I(inode).extents_lock);
res = hfsplus_ext_read_extent(inode, ablock);
if (!res) {