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
[PATCH] lockdep: annotate the quota code
[safe/jmp/linux-2.6]
/
fs
/
ufs
/
super.c
diff --git
a/fs/ufs/super.c
b/fs/ufs/super.c
index
19a9972
..
992ee0b
100644
(file)
--- a/
fs/ufs/super.c
+++ b/
fs/ufs/super.c
@@
-1326,7
+1326,7
@@
static ssize_t ufs_quota_write(struct super_block *sb, int type,
size_t towrite = len;
struct buffer_head *bh;
- mutex_lock
(&inode->i_mutex
);
+ mutex_lock
_nested(&inode->i_mutex, I_MUTEX_QUOTA
);
while (towrite > 0) {
tocopy = sb->s_blocksize - offset < towrite ?
sb->s_blocksize - offset : towrite;