Commit 84840ef
Miklos Szeredi
fuse: simplify __fuse_write_file_get()
Use list_first_entry_or_null() instead of list_empty() + list_entry().
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>1 parent 371e8fd commit 84840ef
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1815 | 1815 | | |
1816 | 1816 | | |
1817 | 1817 | | |
1818 | | - | |
| 1818 | + | |
1819 | 1819 | | |
1820 | 1820 | | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
1824 | 1824 | | |
1825 | | - | |
1826 | 1825 | | |
1827 | 1826 | | |
1828 | 1827 | | |
| |||
0 commit comments