Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
fs
/
ext4
/
ioctl.c
diff --git
a/kernel/fs/ext4/ioctl.c
b/kernel/fs/ext4/ioctl.c
index
5e872fd
..
1fb12f9
100644
(file)
--- a/
kernel/fs/ext4/ioctl.c
+++ b/
kernel/fs/ext4/ioctl.c
@@
-629,7
+629,13
@@
resizefs_out:
goto encryption_policy_out;
}
+ err = mnt_want_write_file(filp);
+ if (err)
+ goto encryption_policy_out;
+
err = ext4_process_policy(&policy, inode);
+
+ mnt_drop_write_file(filp);
encryption_policy_out:
return err;
#else