git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd4: make recall callback an asynchronous rpc
[safe/jmp/linux-2.6]
/
fs
/
nilfs2
/
mdt.c
diff --git
a/fs/nilfs2/mdt.c
b/fs/nilfs2/mdt.c
index
e0a632b
..
47dd815
100644
(file)
--- a/
fs/nilfs2/mdt.c
+++ b/
fs/nilfs2/mdt.c
@@
-154,10
+154,8
@@
nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff,
ret = -EBUSY;
goto failed_bh;
}
- } else {
- BUG_ON(mode != READ);
+ } else /* mode == READ */
lock_buffer(bh);
- }
if (buffer_uptodate(bh)) {
unlock_buffer(bh);