projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UBI: remember copy_flag while scanning
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
acct.c
diff --git
a/kernel/acct.c
b/kernel/acct.c
index 385b88461c29ebf8038128888e0399e3b769e8dd..fa7eb3de2ddcd11eb5b0c7852aa840e9f4c19cc1 100644
(file)
--- a/
kernel/acct.c
+++ b/
kernel/acct.c
@@
-122,7
+122,7
@@
static int check_free_space(struct bsd_acct_struct *acct, struct file *file)
spin_unlock(&acct_lock);
/* May block */
- if (vfs_statfs(
file->f_path.dentry
, &sbuf))
+ if (vfs_statfs(
&file->f_path
, &sbuf))
return res;
suspend = sbuf.f_blocks * SUSPEND;
resume = sbuf.f_blocks * RESUME;