git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4: Print mount options in when mounting and add a remount message
[pandora-kernel.git]
/
fs
/
attr.c
diff --git
a/fs/attr.c
b/fs/attr.c
index
0a6ea54
..
0815e93
100644
(file)
--- a/
fs/attr.c
+++ b/
fs/attr.c
@@
-81,7
+81,7
@@
int inode_newsize_ok(const struct inode *inode, loff_t offset)
if (inode->i_size < offset) {
unsigned long limit;
- limit =
current->signal->rlim[RLIMIT_FSIZE].rlim_cur
;
+ limit =
rlimit(RLIMIT_FSIZE)
;
if (limit != RLIM_INFINITY && offset > limit)
goto out_sig;
if (offset > inode->i_sb->s_maxbytes)