Linux Kernel
3.7.1
|
#include "ubifs.h"
Go to the source code of this file.
Functions | |
int | ubifs_read_master (struct ubifs_info *c) |
int | ubifs_write_master (struct ubifs_info *c) |
int ubifs_read_master | ( | struct ubifs_info * | c | ) |
int ubifs_write_master | ( | struct ubifs_info * | c | ) |
ubifs_write_master - write master node. : UBIFS file-system description object
This function writes the master node. The caller has to take the ->mst_mutex lock before calling this function. Returns zero in case of success and a negative error code in case of failure. The master node is written twice to enable recovery.