Commit 472dea1
ecryptfs: combine the two ATTR_SIZE blocks in ecryptfs_setattr
Simplify the logic in ecryptfs_setattr by combining the two ATTR_SIZE
blocks. This initializes lower_ia before the size check, which is
obviously correct as the size check doesn't look at it.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Tyler Hicks <[email protected]>1 parent b19fe74 commit 472dea1
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | 937 | | |
943 | 938 | | |
944 | 939 | | |
945 | 940 | | |
946 | 941 | | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
947 | 946 | | |
948 | 947 | | |
949 | 948 | | |
| |||
0 commit comments