git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: Add helper to clean bdev aliases under a bh and use it
[sfrench/cifs-2.6.git]
/
fs
/
ufs
/
inode.c
diff --git
a/fs/ufs/inode.c
b/fs/ufs/inode.c
index 190d64be22ed8c8ba0e2212673ea39ff017d3302..45ceb94e89e42a362d633a35d2861e2808910e1a 100644
(file)
--- a/
fs/ufs/inode.c
+++ b/
fs/ufs/inode.c
@@
-1070,8
+1070,7
@@
static int ufs_alloc_lastblock(struct inode *inode, loff_t size)
if (buffer_new(bh)) {
clear_buffer_new(bh);
- unmap_underlying_metadata(bh->b_bdev,
- bh->b_blocknr);
+ clean_bdev_bh_alias(bh);
/*
* we do not zeroize fragment, because of
* if it maped to hole, it already contains zeroes