search for: s_frozen

Displaying 1 result from an estimated 1 matches for "s_frozen".

Did you mean: a_frozen
2010 Jan 29
0
[PATCH 3/3] ocfs2:freeze-thaw: make it work -v2
...node. + */ +void ocfs2_freeze_worker(struct work_struct *work) +{ + struct super_block *sb; + int ret, do_unlock = 0; + struct ocfs2_super *osb = container_of(work, struct ocfs2_super, + osb_freeze_work); + + mlog(0, "flags=0x%lx, frozen=%d\n", osb->osb_flags, osb->sb->s_frozen); + + /* If umount is in progress, wait it to complete. */ + ret = ocfs2_test_osb_flag(osb, OCFS2_OSB_UMOUNT_INPROG); + if (ret) { + mlog(0, "Unmount in progress, make the freeze request pending\n"); + /* Leave FREEZE_INPROG there so not queue the worker again */ + return; + } + + sb =...