X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fubifs%2Fmaster.c;h=1a4bb9e8b3b8925b57be7a6c0a62c1675ddb9bac;hb=92677959bdadb8f7dd2809c5eedc4cd8ca8aeee2;hp=ab83ace9910a0964544a41c7d289c84c2b075057;hpb=f9cd49033b349b8be3bb1f01b39eed837853d880;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/ubifs/master.c b/fs/ubifs/master.c index ab83ace9910a..1a4bb9e8b3b8 100644 --- a/fs/ubifs/master.c +++ b/fs/ubifs/master.c @@ -352,10 +352,9 @@ int ubifs_read_master(struct ubifs_info *c) * ubifs_write_master - write master node. * @c: UBIFS file-system description object * - * This function writes the master node. The caller has to take the - * @c->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. + * This function writes the master node. Returns zero in case of success and a + * negative error code in case of failure. The master node is written twice to + * enable recovery. */ int ubifs_write_master(struct ubifs_info *c) {