aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ubifs/journal.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c
index 04c4ec6483e5..da8afdfccaa6 100644
--- a/fs/ubifs/journal.c
+++ b/fs/ubifs/journal.c
@@ -98,9 +98,8 @@ static inline void zero_trun_node_unused(struct ubifs_trun_node *trun)
98 * 98 *
99 * This function reserves space in journal head @head. If the reservation 99 * This function reserves space in journal head @head. If the reservation
100 * succeeded, the journal head stays locked and later has to be unlocked using 100 * succeeded, the journal head stays locked and later has to be unlocked using
101 * 'release_head()'. 'write_node()' and 'write_head()' functions also unlock 101 * 'release_head()'. Returns zero in case of success, %-EAGAIN if commit has to
102 * it. Returns zero in case of success, %-EAGAIN if commit has to be done, and 102 * be done, and other negative error codes in case of other failures.
103 * other negative error codes in case of other failures.
104 */ 103 */
105static int reserve_space(struct ubifs_info *c, int jhead, int len) 104static int reserve_space(struct ubifs_info *c, int jhead, int len)
106{ 105{