projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4, jbd2: Provide accessor function for handle credits
[linux-2.6-microblaze.git]
/
fs
/
ext4
/
xattr.c
diff --git
a/fs/ext4/xattr.c
b/fs/ext4/xattr.c
index
b79d8ff
..
48a9dbd
100644
(file)
--- a/
fs/ext4/xattr.c
+++ b/
fs/ext4/xattr.c
@@
-2314,7
+2314,7
@@
ext4_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index,
flags & XATTR_CREATE);
brelse(bh);
- if (
!ext4_handle_has_enough_credits(handle, credits)
) {
+ if (
jbd2_handle_buffer_credits(handle) < credits
) {
error = -ENOSPC;
goto cleanup;
}